-
Notifications
You must be signed in to change notification settings - Fork 37.4k
RPC: Show fee in results for signrawtransaction* for segwit inputs #18479
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
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
Concept ACK. |
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.
Concept ACK
a2dab3e
to
5a34f93
Compare
5a34f93
to
d47aefb
Compare
d47aefb
to
a1da1f9
Compare
Rebased again |
The fee is considered known when all inputs are segwit inputs (which means amounts are enforced/known)..
a1da1f9
to
ddb8d02
Compare
🐙 This pull request conflicts with the target branch and needs rebase. Want to unsubscribe from rebase notifications on this pull request? Just convert this pull request to a "draft". |
@@ -274,12 +274,13 @@ void SignTransaction(CMutableTransaction& mtx, const SigningProvider* keystore, | |||
|
|||
// Script verification errors | |||
std::map<int, std::string> input_errors; | |||
Optional<CAmount> inputs_amount_sum; |
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.
Please use std::optional
in new code.
Closing due to lack of interest. |
Rebase of #12911