diff options
author | Karl-Johan Alm <karljohan-alm@garage.co.jp> | 2018-07-19 11:43:03 +0900 |
---|---|---|
committer | Karl-Johan Alm <karljohan-alm@garage.co.jp> | 2018-07-24 15:05:37 +0900 |
commit | 87ebce25d66952f5ce565bb5130dcf5e24049872 (patch) | |
tree | 5f14a8fcaacc353277f7624f9d33674f532e04ce /src/wallet/wallet.h | |
parent | bb629cb9dc567cc819724d9f4852652926e60cbf (diff) | |
download | bitcoin-87ebce25d66952f5ce565bb5130dcf5e24049872.tar.xz |
wallet: Add output grouping
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r-- | src/wallet/wallet.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index b636924fe2..f3e3a78f83 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -534,9 +534,6 @@ public: } }; - - - /** Private key that includes an expiration date in case it never gets used. */ class CWalletKey { @@ -864,6 +861,7 @@ public: std::set<CInputCoin>& setCoinsRet, CAmount& nValueRet, const CoinSelectionParams& coin_selection_params, bool& bnb_used) const; bool IsSpent(const uint256& hash, unsigned int n) const; + std::vector<OutputGroup> GroupOutputs(const std::vector<COutput>& outputs, bool single_coin) const; bool IsLockedCoin(uint256 hash, unsigned int n) const EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); void LockCoin(const COutPoint& output) EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); |