-
Notifications
You must be signed in to change notification settings - Fork 37.8k
[moveonly] Extract CWallet::MarkInputsDirty, and privatize AddToWalletIfInvolvingMe #13651
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.
utACK de381c6.
@@ -703,9 +703,27 @@ class CWallet final : public CCryptoKeyStore, public CValidationInterface | |||
void AddToSpends(const COutPoint& outpoint, const uint256& wtxid); | |||
void AddToSpends(const uint256& wtxid); | |||
|
|||
/** | |||
* Add a transaction to the wallet, or update it. pIndex and posInBlock should |
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.
... if belongs to the wallet
?
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.
Going to leave as moveonly.
Note to reviewers: 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. |
Needs rebase |
To avoid repeated implementations.
And document in the header.
de381c6
to
17e6aa8
Compare
Rebased for #12944 |
(re)utACK 17e6aa8. |
utACK 17e6aa8 |
utACK 17e6aa8 |
…ize AddToWalletIfInvolvingMe 17e6aa8 Privatize CWallet::AddToWalletIfInvolvingMe (Ben Woosley) b7f5650 Extract CWallet::MarkInputsDirty (Ben Woosley) Pull request description: Thus reducing code and surface area of CWallet. Tree-SHA512: 31a99acc77ef3438ef9b95d60030972b707bd69d6e7b1498a5f776b219d9aabc83464f75bfec7bad5cb635d0b2d686c389914e5cc57a4bb0b93c47bd82ca608c
… privatize AddToWalletIfInvolvingMe 17e6aa8 Privatize CWallet::AddToWalletIfInvolvingMe (Ben Woosley) b7f5650 Extract CWallet::MarkInputsDirty (Ben Woosley) Pull request description: Thus reducing code and surface area of CWallet. Tree-SHA512: 31a99acc77ef3438ef9b95d60030972b707bd69d6e7b1498a5f776b219d9aabc83464f75bfec7bad5cb635d0b2d686c389914e5cc57a4bb0b93c47bd82ca608c
… privatize AddToWalletIfInvolvingMe 17e6aa8 Privatize CWallet::AddToWalletIfInvolvingMe (Ben Woosley) b7f5650 Extract CWallet::MarkInputsDirty (Ben Woosley) Pull request description: Thus reducing code and surface area of CWallet. Tree-SHA512: 31a99acc77ef3438ef9b95d60030972b707bd69d6e7b1498a5f776b219d9aabc83464f75bfec7bad5cb635d0b2d686c389914e5cc57a4bb0b93c47bd82ca608c
… privatize AddToWalletIfInvolvingMe 17e6aa8 Privatize CWallet::AddToWalletIfInvolvingMe (Ben Woosley) b7f5650 Extract CWallet::MarkInputsDirty (Ben Woosley) Pull request description: Thus reducing code and surface area of CWallet. Tree-SHA512: 31a99acc77ef3438ef9b95d60030972b707bd69d6e7b1498a5f776b219d9aabc83464f75bfec7bad5cb635d0b2d686c389914e5cc57a4bb0b93c47bd82ca608c
… privatize AddToWalletIfInvolvingMe 17e6aa8 Privatize CWallet::AddToWalletIfInvolvingMe (Ben Woosley) b7f5650 Extract CWallet::MarkInputsDirty (Ben Woosley) Pull request description: Thus reducing code and surface area of CWallet. Tree-SHA512: 31a99acc77ef3438ef9b95d60030972b707bd69d6e7b1498a5f776b219d9aabc83464f75bfec7bad5cb635d0b2d686c389914e5cc57a4bb0b93c47bd82ca608c
… privatize AddToWalletIfInvolvingMe 17e6aa8 Privatize CWallet::AddToWalletIfInvolvingMe (Ben Woosley) b7f5650 Extract CWallet::MarkInputsDirty (Ben Woosley) Pull request description: Thus reducing code and surface area of CWallet. Tree-SHA512: 31a99acc77ef3438ef9b95d60030972b707bd69d6e7b1498a5f776b219d9aabc83464f75bfec7bad5cb635d0b2d686c389914e5cc57a4bb0b93c47bd82ca608c
Thus reducing code and surface area of CWallet.