Bitcoin ABC  0.22.15
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_)
 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...

Detailed Description

Definition at line 654 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_ 

Definition at line 663 of file wallet.h.

◆ CoinSelectionParams() [2/2]

CoinSelectionParams::CoinSelectionParams ( )

Definition at line 669 of file wallet.h.

Member Data Documentation

◆ change_output_size

size_t CoinSelectionParams::change_output_size = 0

Definition at line 656 of file wallet.h.

◆ change_spend_size

size_t CoinSelectionParams::change_spend_size = 0

Definition at line 657 of file wallet.h.

◆ effective_fee

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

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

◆ tx_noinputs_size

size_t CoinSelectionParams::tx_noinputs_size = 0

Definition at line 659 of file wallet.h.

◆ use_bnb

bool CoinSelectionParams::use_bnb = true

Definition at line 655 of file wallet.h.

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