Bitcoin
Functions
fees.h File Reference
#include <amount.h>

Go to the source code of this file.

Functions

CAmount GetRequiredFee (const CWallet &wallet, unsigned int nTxBytes)
 
CAmount GetMinimumFee (const CWallet &wallet, unsigned int nTxBytes, const CCoinControl &coin_control, FeeCalculation *feeCalc)
 
CFeeRate GetRequiredFeeRate (const CWallet &wallet)
 
CFeeRate GetMinimumFeeRate (const CWallet &wallet, const CCoinControl &coin_control, FeeCalculation *feeCalc)
 
CFeeRate GetDiscardRate (const CWallet &wallet)
 

Function Documentation

◆ GetDiscardRate()

CFeeRate GetDiscardRate ( const CWallet wallet)

Return the maximum feerate for discarding change.

◆ GetMinimumFee()

CAmount GetMinimumFee ( const CWallet wallet,
unsigned int  nTxBytes,
const CCoinControl coin_control,
FeeCalculation feeCalc 
)

Estimate the minimum fee considering user set parameters and the required fee

◆ GetMinimumFeeRate()

CFeeRate GetMinimumFeeRate ( const CWallet wallet,
const CCoinControl coin_control,
FeeCalculation feeCalc 
)

Estimate the minimum fee rate considering user set parameters and the required fee

◆ GetRequiredFee()

CAmount GetRequiredFee ( const CWallet wallet,
unsigned int  nTxBytes 
)

Return the minimum required absolute fee for this size based on the required fee rate

◆ GetRequiredFeeRate()

CFeeRate GetRequiredFeeRate ( const CWallet wallet)

Return the minimum required feerate taking into account the minimum relay feerate and user set minimum transaction feerate