Skip to content

Conversation

Empact
Copy link
Contributor

@Empact Empact commented Jul 12, 2018

Thus reducing code and surface area of CWallet.

Copy link
Contributor

@promag promag left a 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
Copy link
Contributor

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?

Copy link
Contributor Author

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.

@Empact Empact changed the title Extract CWallet::MarkInputsDirty, and privatize AddToWalletIfInvolvingMe [moveonly] Extract CWallet::MarkInputsDirty, and privatize AddToWalletIfInvolvingMe Jul 13, 2018
@DrahtBot
Copy link
Contributor

DrahtBot commented Jul 13, 2018

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.

@DrahtBot
Copy link
Contributor

Needs rebase

Empact added 2 commits July 13, 2018 16:18
To avoid repeated implementations.
And document in the header.
@Empact Empact force-pushed the mark-inputs-dirty branch from de381c6 to 17e6aa8 Compare July 13, 2018 20:19
@Empact
Copy link
Contributor Author

Empact commented Jul 13, 2018

Rebased for #12944

@promag
Copy link
Contributor

promag commented Jul 13, 2018

(re)utACK 17e6aa8.

@sipa
Copy link
Member

sipa commented Jul 13, 2018

utACK 17e6aa8

@maflcko
Copy link
Member

maflcko commented Jul 14, 2018

utACK 17e6aa8

@sipa sipa merged commit 17e6aa8 into bitcoin:master Jul 14, 2018
sipa added a commit that referenced this pull request Jul 14, 2018
…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
@Empact Empact deleted the mark-inputs-dirty branch July 14, 2018 20:40
UdjinM6 pushed a commit to UdjinM6/dash that referenced this pull request Jun 29, 2021
… 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
UdjinM6 pushed a commit to UdjinM6/dash that referenced this pull request Jun 29, 2021
… 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
UdjinM6 pushed a commit to UdjinM6/dash that referenced this pull request Jul 1, 2021
… 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
UdjinM6 pushed a commit to UdjinM6/dash that referenced this pull request Jul 2, 2021
… 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
UdjinM6 pushed a commit to UdjinM6/dash that referenced this pull request Jul 2, 2021
… 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
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Dec 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants