diff options
| author | Wladimir J. van der Laan <[email protected]> | 2017-03-13 06:59:23 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2017-03-13 07:01:29 +0100 |
| commit | afcd7c0e52d87734a29e55f695553ff0dee31078 (patch) | |
| tree | 1eb1e92fc932c661e131b5474ced84de0889ef4d /src/bench | |
| parent | Merge #9953: Fix shutdown hang with >= 8 -addnodes set (diff) | |
| parent | Add safe flag to listunspent result (diff) | |
| download | discoin-afcd7c0e52d87734a29e55f695553ff0dee31078.tar.xz discoin-afcd7c0e52d87734a29e55f695553ff0dee31078.zip | |
Merge #9830: Add safe flag to listunspent result
dcf2112 Add safe flag to listunspent result (NicolasDorier)
af61d9f Add COutput::fSafe member for safe handling of unconfirmed outputs (Russell Yanofsky)
Tree-SHA512: 311edb6fa8075b3ede5b24cb8c6e5d133ccd8ac9ecafea07b604ffa812ee4f071337e31695e662d8573590a0460af20aaaeb39d49c9ea87924449ea50bdfb0b3
Diffstat (limited to 'src/bench')
| -rw-r--r-- | src/bench/coin_selection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bench/coin_selection.cpp b/src/bench/coin_selection.cpp index 29fbd3463..06882f151 100644 --- a/src/bench/coin_selection.cpp +++ b/src/bench/coin_selection.cpp @@ -20,7 +20,7 @@ static void addCoin(const CAmount& nValue, const CWallet& wallet, std::vector<CO CWalletTx* wtx = new CWalletTx(&wallet, MakeTransactionRef(std::move(tx))); int nAge = 6 * 24; - COutput output(wtx, nInput, nAge, true, true); + COutput output(wtx, nInput, nAge, true /* spendable */, true /* solvable */, true /* safe */); vCoins.push_back(output); } |