#include <chainparams.h>
#include <consensus/amount.h>
#include <node/context.h>
#include <primitives/transaction.h>
#include <random.h>
#include <wallet/coincontrol.h>
#include <wallet/coinselection.h>
#include <wallet/spend.h>
#include <wallet/wallet.h>
#include <test/util/setup_common.h>
#include <wallet/test/wallet_test_fixture.h>
#include <boost/test/unit_test.hpp>
#include <memory>
#include <random>
Go to the source code of this file.
|
static void | add_coin (const Amount nValue, int nInput, std::vector< CInputCoin > &set) |
|
static void | add_coin (const Amount nValue, int nInput, CoinSet &set) |
|
static void | add_coin (CWallet &wallet, const Amount nValue, int nAge=6 *24, bool fIsFromMe=false, int nInput=0, bool spendable=false) |
|
static void | empty_wallet () |
|
static bool | equal_sets (CoinSet a, CoinSet b) |
|
static Amount | make_hard_case (int utxos, std::vector< CInputCoin > &utxo_pool) |
|
std::vector< OutputGroup > & | GroupCoins (const std::vector< CInputCoin > &coins) |
|
std::vector< OutputGroup > & | GroupCoins (const std::vector< COutput > &coins) |
|
| BOOST_AUTO_TEST_CASE (bnb_search_test) |
|
| BOOST_AUTO_TEST_CASE (knapsack_solver_test) |
|
| BOOST_AUTO_TEST_CASE (ApproximateBestSubset) |
|
| BOOST_AUTO_TEST_CASE (SelectCoins_test) |
|
◆ RANDOM_REPEATS
◆ RUN_TESTS
◆ CoinSet
◆ add_coin() [1/3]
◆ add_coin() [2/3]
◆ add_coin() [3/3]
◆ BOOST_AUTO_TEST_CASE() [1/4]
◆ BOOST_AUTO_TEST_CASE() [2/4]
◆ BOOST_AUTO_TEST_CASE() [3/4]
◆ BOOST_AUTO_TEST_CASE() [4/4]
◆ empty_wallet()
◆ equal_sets()
◆ GroupCoins() [1/2]
◆ GroupCoins() [2/2]
◆ make_hard_case()
◆ balance
◆ coin_selection_params
CoinSelectionParams coin_selection_params(false, 0, 0, CFeeRate(Amount::zero()), 0, false) |
( |
false |
, |
|
|
0 |
, |
|
|
0 |
, |
|
|
CFeeRate(Amount::zero()) |
, |
|
|
0 |
, |
|
|
false |
|
|
) |
| |
◆ filter_confirmed
◆ filter_standard
◆ filter_standard_extra
◆ testNode
◆ vCoins