-
Notifications
You must be signed in to change notification settings - Fork 1.2k
backport: merge bitcoin#16337, #16378, #20179, #19969 (send rpc) #5861
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
Conversation
|
This pull request has conflicts, please rebase. |
|
This pull request has conflicts, please rebase. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK c1fd5a622317b2d8bce4f2984970348e723419b1 for merging via merge commit
UdjinM6
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
few small suggestions
knst
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but check rpc dashification s/satoshi/duffs
knst
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK
UdjinM6
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
noticed another one
|
This pull request has conflicts, please rebase. |
knst
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- I just found one releavant backport:
e36aa35 Merge bitcoin#19969: Send RPC bug fix and touch-ups
Consider including it to this PR
- I just discovered that we have CURRENCY_ATOM defined since bitcoin#11413 and bitcoin uses it in the later commits for rpc wallet.
+const std::string CURRENCY_ATOM = "duff"; // One indivisible minimum value unit
considerusing CURRENCY_ATOM instead duffs directly
…efundedpsbt Co-authored-by: Konstantin Akimov <knstqq@gmail.com>
UdjinM6
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, utACK 76a49ad
knst
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK 76a49ad
PastaPastaPasta
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK 76a49ad
Additional Information
Extracted from dash#5842 due to breaking changes and placed into its own PR to be merged during new major version development cycle.
Breaking Changes
(Taken from
release-notes-5861.md)The
walletcreatefundedpsbtRPC call will now fail withInsufficient fundswhen inputs are manually selected but are not enough to cover the outputs and fee. Additional inputs can automatically be added through the newadd_inputsoption.The
fundrawtransactionRPC now supportsadd_inputsoption that whenfalseprevents adding more inputs if necessary and consequently the RPC fails.A new
sendRPC with similar syntax towalletcreatefundedpsbt, including support for coin selection and a custom fee rate. ThesendRPC is experimental and may change in subsequent releases. Using it is encouraged once it's no longer experimental:sendmanyandsendtoaddressmay be deprecated in a future release.Checklist