-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
btcjson, rpcclient: revamp package and eliminate duplication #2014
Conversation
Pull Request Test Coverage Report for Build 5703063476
💛 - Coveralls |
See #1934 The changes here would introduce breaking changes for any existing clients. The current |
Yes, i agree. Current style of btcjson and rpcclient has a lot of duplicated code. I'll refactor it. |
much appreciated, thank you |
161a693
to
5f65bd7
Compare
Added an example based on the sketch. How about new sketch? PTAL @Roasbeef |
This reverts commit 13cef727d20371dabb9d5bf07a4b7cf89f0f13d6. btcjson, rpcclient: rename Account to Dummy in SendManyCmd btcjson, rpcclient: use proper Deprecated comment format for `GetAccountCmd` btcjson, rpcclient: use proper Deprecated comment format for `GetAccountAddressCmd` btcjson, rpcclient: implement getaddressesbylabel command btcjson, rpcclient: implement getreceivedbylabel command rpcclient: add comments for GetAddressesByLabel btcjson, rpcclient: implement listlabels command btcjson, rpcclient: use proper Deprecated comment btcjson, rpcclient: implement listreceivedbylabel command btcjson: use proper Deprecated comment btcjson, rpcclient: implement setlabel command btcjson, rpcclient: rename account to label in addmultisigaddress command btcjson, rpcclient: rename account to label in getnewaddress command btcjson: rename account to label in ListUnspentResult btcjson, rpcclient: rename FromAccount to Dummy in SendManyCmd btcjson, rpcclient: rename Account to Label in ListTransactionsCmd btcjson, rpcclient: rename Account to Dummy in ListTransactionsCmd Revert "btcjson, rpcclient: rename FromAccount to Dummy in SendManyCmd" This reverts commit 8a5ff94. feat: generic rpcclient example feat: generic rpcclient example
5f65bd7
to
f53d642
Compare
Implemented
New Method
, used proper Deprecated comment forDeprecated Method
, renamed account named parameter to label forChange Method
.For more APIs: https://github.com/bitcoin/bitcoin/blob/master/doc/release-notes/release-notes-0.17.0.md#label-and-account-apis-for-wallet
Related: #1974