-
Notifications
You must be signed in to change notification settings - Fork 37.7k
wallet: unify max signature logic #25481
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
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.
Aside from the quick code review that made, want to point you in #24699 direction.
The first two commits there are implementing part of what you did here. Would be nice to get that one reviewed first.
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. |
ae07464
to
11b46bd
Compare
11b46bd
to
d54c5c8
Compare
@furszy thanks for the review and the pointer. I don't want to add hints for the flag, because it's removed in the next commit. |
ACK d54c5c8 |
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.
Code-review ACK d54c5c8
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.
Post-merge ACK d54c5c8
Currently
DummySignTx
andDummySignInput
use different ways to determine signature size.This PR unifies the way wallet estimates signature size for various inputs.
Instead of passing boolean flags from calling code the
use_max_sig
is now calculated at the place of signature creation using information available inCCoinControl