-
Notifications
You must be signed in to change notification settings - Fork 725
[Wallet] Making CWalletTx store TransactionRef. #2044
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
[Wallet] Making CWalletTx store TransactionRef. #2044
Conversation
8a64ace to
d5f4a06
Compare
d5f4a06 to
3adfd60
Compare
|
Rebased on master + completed the work. |
3adfd60 to
501edb9
Compare
random-zebra
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.
Minor concern over the newly introduced IsNormalTx function.
Otherwise looking good, utACK 501edb9a579a68d5781e8d14866802ceb1436a79
501edb9 to
7ecef96
Compare
random-zebra
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 7ecef9679a0b1d524d3016bae8f9a910ca5bb2ee
7ecef96 to
652981a
Compare
random-zebra
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 652981a
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.
utACK 652981a
6948abd [BUG][GUI] Fix CWalletTx* casts to CTransaction* (random-zebra) Pull request description: Fix random GUI segfault during send. Since #2044 , we cannot cast `CWalletTx*` directly to `CTransaction*` (as `CMerkleTx` no longer inherits from `CTransaction`). We must use the `CTransactionRef` stored within it. ACKs for top commit: furszy: great catch 👌 , ACK 6948abd Fuzzbawls: utACK 6948abd Tree-SHA512: a9395d59bd64553a6e45592a66b6662a393098c560121e793121ada411643a77d349750a335c10ffc66ddafd54950fb1c6263583aa6218849a39aec1707ab6d9
Instead of inheriting from
CTransaction, nowCWalletTxwill store it as member. Another step forward over the transaction complete immutability goal.An adaptation of c3f5673 with further needed changes, essentially: