-
Notifications
You must be signed in to change notification settings - Fork 375
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RPC]Add assetlabel support to some commands
Remain the support of assetlabel parameter that was previously present. 1. sendtoaddress Print 'optional' explicitly in the help text.↲ 2. getreceivedbyaddress Add the 3rd parameter as "assetlabel" Print 'optional' explicitly in the help text.↲ 3. getreceivedbylabel Add the 3rd parameter as "assetlabel" Print 'optional' explicitly in the help text.↲ 4. getbalance Set the name of 4th parameter as "assetlabel". Print 'optional' explicitly in the help text.↲ 5. listreceivedbyaddress Set the name of 5th parameter as "assetlabel". Enable assetlabel selection to the result of amounts. Print 'optional' explicitly in the help text.↲ 6. gettransaction Add the 3rd parameter as "assetlabel" notice) Also getwalletinfo had a parameter to specify "assetlabel". But no need to add a parameter because the command is a catch-all one.
- Loading branch information
Showing
3 changed files
with
31 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters