Bitcoin Core  21.99.0
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
CoinSelectionParams Struct Reference

#include <wallet.h>

Collaboration diagram for CoinSelectionParams:

Public Member Functions

 CoinSelectionParams (bool use_bnb, size_t change_output_size, size_t change_spend_size, CFeeRate effective_feerate, CFeeRate long_term_feerate, CFeeRate discard_feerate, size_t tx_noinputs_size, bool avoid_partial)
 CoinSelectionParams ()

Public Attributes

bool use_bnb = true
size_t change_output_size = 0
size_t change_spend_size = 0
CFeeRate m_effective_feerate
CFeeRate m_long_term_feerate
CFeeRate m_discard_feerate
size_t tx_noinputs_size = 0
bool m_subtract_fee_outputs = false
 Indicate that we are subtracting the fee from outputs. More...
bool m_avoid_partial_spends = false

Detailed Description

Definition at line 607 of file wallet.h.

Constructor & Destructor Documentation

◆ CoinSelectionParams() [1/2]

CoinSelectionParams::CoinSelectionParams ( bool  use_bnb,
size_t  change_output_size,
size_t  change_spend_size,
CFeeRate  effective_feerate,
CFeeRate  long_term_feerate,
CFeeRate  discard_feerate,
size_t  tx_noinputs_size,
bool  avoid_partial 

Definition at line 620 of file wallet.h.

◆ CoinSelectionParams() [2/2]

CoinSelectionParams::CoinSelectionParams ( )

Definition at line 631 of file wallet.h.

Member Data Documentation

◆ change_output_size

size_t CoinSelectionParams::change_output_size = 0

Definition at line 610 of file wallet.h.

◆ change_spend_size

size_t CoinSelectionParams::change_spend_size = 0

Definition at line 611 of file wallet.h.

◆ m_avoid_partial_spends

bool CoinSelectionParams::m_avoid_partial_spends = false

Definition at line 618 of file wallet.h.

◆ m_discard_feerate

CFeeRate CoinSelectionParams::m_discard_feerate

Definition at line 614 of file wallet.h.

◆ m_effective_feerate

CFeeRate CoinSelectionParams::m_effective_feerate

Definition at line 612 of file wallet.h.

◆ m_long_term_feerate

CFeeRate CoinSelectionParams::m_long_term_feerate

Definition at line 613 of file wallet.h.

◆ m_subtract_fee_outputs

bool CoinSelectionParams::m_subtract_fee_outputs = false

Indicate that we are subtracting the fee from outputs.

Definition at line 617 of file wallet.h.

◆ tx_noinputs_size

size_t CoinSelectionParams::tx_noinputs_size = 0

Definition at line 615 of file wallet.h.

◆ use_bnb

bool CoinSelectionParams::use_bnb = true

Definition at line 609 of file wallet.h.

The documentation for this struct was generated from the following file: