Bitcoin ABC 0.30.5
P2P Digital Currency
|
#include <bench/bench.h>
#include <chainparams.h>
#include <consensus/amount.h>
#include <interfaces/chain.h>
#include <node/context.h>
#include <wallet/coinselection.h>
#include <wallet/spend.h>
#include <wallet/wallet.h>
#include <memory>
#include <set>
Go to the source code of this file.
Typedefs | |
typedef std::set< CInputCoin > | CoinSet |
Functions | |
static void | addCoin (const Amount nValue, const CWallet &wallet, std::vector< std::unique_ptr< CWalletTx > > &wtxs) |
static void | CoinSelection (benchmark::Bench &bench) |
static void | add_coin (const CWallet &wallet, const Amount nValue, int nInput, std::vector< OutputGroup > &set) |
static Amount | make_hard_case (const CWallet &wallet, int utxos, std::vector< OutputGroup > &utxo_pool) |
static void | BnBExhaustion (benchmark::Bench &bench) |
BENCHMARK (CoinSelection) | |
BENCHMARK (BnBExhaustion) | |
Variables | |
std::vector< std::unique_ptr< CWalletTx > > | wtxn |
typedef std::set<CInputCoin> CoinSet |
Definition at line 78 of file coin_selection.cpp.
|
static |
Definition at line 82 of file coin_selection.cpp.
|
static |
Definition at line 19 of file coin_selection.cpp.
BENCHMARK | ( | BnBExhaustion | ) |
BENCHMARK | ( | CoinSelection | ) |
|
static |
|
static |
|
static |
Definition at line 96 of file coin_selection.cpp.
std::vector<std::unique_ptr<CWalletTx> > wtxn |
Definition at line 79 of file coin_selection.cpp.