BSHA3  0.17.99
P2P Blockchain, based on Bitcoin
Functions | Variables
coinselection.cpp File Reference
#include <wallet/coinselection.h>
#include <util.h>
#include <utilmoneystr.h>
#include <boost/optional.hpp>
Include dependency graph for coinselection.cpp:

Go to the source code of this file.

Functions

bool SelectCoinsBnB (std::vector< OutputGroup > &utxo_pool, const CAmount &target_value, const CAmount &cost_of_change, std::set< CInputCoin > &out_set, CAmount &value_ret, CAmount not_input_fees)
 
bool KnapsackSolver (const CAmount &nTargetValue, std::vector< OutputGroup > &groups, std::set< CInputCoin > &setCoinsRet, CAmount &nValueRet)
 

Variables

struct {
descending
 

Function Documentation

◆ KnapsackSolver()

bool KnapsackSolver ( const CAmount nTargetValue,
std::vector< OutputGroup > &  groups,
std::set< CInputCoin > &  setCoinsRet,
CAmount nValueRet 
)

Definition at line 216 of file coinselection.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SelectCoinsBnB()

bool SelectCoinsBnB ( std::vector< OutputGroup > &  utxo_pool,
const CAmount target_value,
const CAmount cost_of_change,
std::set< CInputCoin > &  out_set,
CAmount value_ret,
CAmount  not_input_fees 
)

Definition at line 65 of file coinselection.cpp.

Here is the caller graph for this function:

Variable Documentation

◆ descending

struct { ... } descending