diff options
author | Andrew Chow <achow101-github@achow101.com> | 2020-08-31 16:45:39 -0400 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2020-10-02 12:35:04 -0400 |
commit | 416d74fb1687ae1d47a58c153d09d9afe0b6dc60 (patch) | |
tree | bd3fef5010a23b8fdcdd4f6f06d6a54aa0b71865 /src/wallet/wallet.h | |
parent | d895e98b594b873f3d34c8ba63e9b55125d51b5a (diff) | |
download | bitcoin-416d74fb1687ae1d47a58c153d09d9afe0b6dc60.tar.xz |
Move OutputGroup positive only filtering into Insert
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r-- | src/wallet/wallet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index 1c523d86b8..da14b0108c 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -841,7 +841,7 @@ public: bool IsSpentKey(const uint256& hash, unsigned int n) const EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); void SetSpentKeyState(WalletBatch& batch, const uint256& hash, unsigned int n, bool used, std::set<CTxDestination>& tx_destinations) EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); - std::vector<OutputGroup> GroupOutputs(const std::vector<COutput>& outputs, bool single_coin, const size_t max_ancestors, const CFeeRate& effective_feerate, const CFeeRate& long_term_feerate, const CoinEligibilityFilter& filter) const; + std::vector<OutputGroup> GroupOutputs(const std::vector<COutput>& outputs, bool single_coin, const size_t max_ancestors, const CFeeRate& effective_feerate, const CFeeRate& long_term_feerate, const CoinEligibilityFilter& filter, bool positive_only) const; bool IsLockedCoin(uint256 hash, unsigned int n) const EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); void LockCoin(const COutPoint& output) EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); |