-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Validation of addresses #183
Comments
From #131
|
This issue is stale because it has been open for 30 days with no activity. |
CLI currently allows non-address values to be passed in as address arguments.
Better validation in the parser should be added, by improving the regex. Additionally, the
IsValidAddress
function from util should be invoked by the parser.Checksum should be ensured:
https://medium.com/coinmonks/how-to-generate-a-bitcoin-address-step-by-step-9d7fcbf1ad0b
The self keyword should also be allowed. The regex should ensure self is recognized as an address, and validation should not be done on it. Addresses that are "self" should resolve to the currently opened wallet address, if any.
PR #151 adds better validation via regex
The text was updated successfully, but these errors were encountered: