-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
Description
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
Reactions are currently unavailable