Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
coin_selection.cpp
Go to the documentation of this file.
static std::unique_ptr< BerkeleyDatabase > CreateDummy()
Return object for accessing dummy database with no read/write capabilities.
Definition: db.h:123
bool SelectCoinsMinConf(const CAmount &nTargetValue, int nConfMine, int nConfTheirs, uint64_t nMaxAncestors, std::vector< COutput > vCoins, std::set< CInputCoin > &setCoinsRet, CAmount &nValueRet, CoinType nCoinType=CoinType::ALL_COINS) const
Shuffle and select coins until nTargetValue is reached while avoiding small change; This method is st...
Definition: wallet.cpp:3025
static void addCoin(const CAmount &nValue, const CWallet &wallet, std::vector< COutput > &vCoins)
Definition: coin_selection.cpp:10
A transaction with a bunch of additional info that only the owner cares about.
Definition: wallet.h:280
Definition: wallet.h:566
A CWallet is an extension of a keystore, which also maintains a set of transactions and balances...
Definition: wallet.h:715
Definition: bench.h:50
BENCHMARK(CoinSelection)