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_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(0)
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 604 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 614 of file wallet.h.

◆ CoinSelectionParams() [2/2]

CoinSelectionParams::CoinSelectionParams ( )

Definition at line 615 of file wallet.h.

Member Data Documentation

◆ change_output_size

size_t CoinSelectionParams::change_output_size = 0

Definition at line 607 of file wallet.h.

◆ change_spend_size

size_t CoinSelectionParams::change_spend_size = 0

Definition at line 608 of file wallet.h.

◆ effective_fee

CFeeRate CoinSelectionParams::effective_fee = CFeeRate(0)

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

◆ tx_noinputs_size

size_t CoinSelectionParams::tx_noinputs_size = 0

Definition at line 610 of file wallet.h.

◆ use_bnb

bool CoinSelectionParams::use_bnb = true

Definition at line 606 of file wallet.h.

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