-
Notifications
You must be signed in to change notification settings - Fork 725
[GUI][Bug] CoinControl payAmounts and nBytes calculation #1611
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
[GUI][Bug] CoinControl payAmounts and nBytes calculation #1611
Conversation
|
ACK f526ffa |
furszy
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.
Concept ACK, great catch.
ambassador000
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.
Functionality tested, working as intended.
furszy
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 f526ffa.
Left a comment for a future improvement in this area.
f526ffa to
23c4c41
Compare
|
Updated first commit, removing |
furszy
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.
re ACK 23c4c41 after the changes 👍
23c4c41 to
0f23f40
Compare
|
Rebased. |
furszy
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.
re re utACK 0f23f40
Fuzzbawls
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.
ACK 0f23f40
2ad58fd [GUI] CoinControlDialog: fix SelectAll / UnselectAll (random-zebra) Pull request description: Based on top of - [x] #1611 Only last commit is new. This updates the flow of the toggle button SelectAll/UnselectAll in the coin control dialog (`pushButtonSelectAll`). - use directly the checked state of the button, instead of caching it in a separate variable `fSelectAllToggled`. - when the button is in checked ("Unselect all") state, reset it to its initial state (unchecked, with "Select all" label) if all the entries are either manually deselected, or automatically cleared after a spend) Closes point n.3 of #1609 ACKs for top commit: Fuzzbawls: ACK 2ad58fd furszy: utACK 2ad58fd Tree-SHA512: 9f63cf2c99ebe887a89b6b17753ea7f398594860069ed694b6ee33bb2157606fa63336647d23b4df8ff36a8c7249320694a30f9d9e1d30a0200256a8267f9622
payAmounts were never set in CoinControlDialog, thus
nPayAmountwas always zero.This resulted in two bugs:
nDustandnChangewere always zero, thus their labels were never usedThis PR removes some unused leftover, connects payAmounts (both from send and from coldstaking widgets) and fixes the tx-size calculation, considering also the cold-staking scripts (either as inputs and/or outputs/delegations).
Fixes point n.2 of #1609