Bitcoin ABC  0.26.3
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_fee_, 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 effective_fee = CFeeRate(Amount::zero())
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 226 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_fee_,
size_t  tx_noinputs_size_,
bool  avoid_partial 

Definition at line 236 of file wallet.h.

◆ CoinSelectionParams() [2/2]

CoinSelectionParams::CoinSelectionParams ( )

Definition at line 243 of file wallet.h.

Member Data Documentation

◆ change_output_size

size_t CoinSelectionParams::change_output_size = 0

Definition at line 228 of file wallet.h.

◆ change_spend_size

size_t CoinSelectionParams::change_spend_size = 0

Definition at line 229 of file wallet.h.

◆ effective_fee

CFeeRate CoinSelectionParams::effective_fee = CFeeRate(Amount::zero())

Definition at line 230 of file wallet.h.

◆ m_avoid_partial_spends

bool CoinSelectionParams::m_avoid_partial_spends = false

Definition at line 234 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 233 of file wallet.h.

◆ tx_noinputs_size

size_t CoinSelectionParams::tx_noinputs_size = 0

Definition at line 231 of file wallet.h.

◆ use_bnb

bool CoinSelectionParams::use_bnb = true

Definition at line 227 of file wallet.h.

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