Bitcoin Core 28.99.0
P2P Digital Currency
Namespaces | Functions
coinselection.cpp File Reference
#include <policy/feerate.h>
#include <policy/policy.h>
#include <primitives/transaction.h>
#include <test/fuzz/FuzzedDataProvider.h>
#include <test/fuzz/fuzz.h>
#include <test/fuzz/util.h>
#include <test/util/setup_common.h>
#include <wallet/coinselection.h>
#include <numeric>
#include <vector>
Include dependency graph for coinselection.cpp:

Go to the source code of this file.

Namespaces

namespace  wallet
 

Functions

static void wallet::AddCoin (const CAmount &value, int n_input, int n_input_bytes, int locktime, std::vector< COutput > &coins, CFeeRate fee_rate)
 
static void wallet::GroupCoins (FuzzedDataProvider &fuzzed_data_provider, const std::vector< COutput > &coins, const CoinSelectionParams &coin_params, bool positive_only, std::vector< OutputGroup > &output_groups)
 
static CAmount wallet::CreateCoins (FuzzedDataProvider &fuzzed_data_provider, std::vector< COutput > &utxo_pool, CoinSelectionParams &coin_params, int &next_locktime)
 
static SelectionResult wallet::ManualSelection (std::vector< COutput > &utxos, const CAmount &total_amount, const bool &subtract_fee_outputs)
 
static bool wallet::HasErrorMsg (const util::Result< SelectionResult > &res)
 
 wallet::FUZZ_TARGET (coin_grinder)
 
 wallet::FUZZ_TARGET (coin_grinder_is_optimal)
 
 wallet::FUZZ_TARGET (coinselection)