Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
Functions
fees.h File Reference
#include <consensus/amount.h>
#include <feerate.h>
Include dependency graph for fees.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

Amount GetRequiredFee (const CWallet &wallet, unsigned int nTxBytes)
 Return the minimum required absolute fee for this size based on the required fee rate.
 
Amount GetMinimumFee (const CWallet &wallet, unsigned int nTxBytes, const CCoinControl &coin_control)
 Estimate the minimum fee considering user set parameters and the required fee.
 
CFeeRate GetRequiredFeeRate (const CWallet &wallet)
 Return the minimum required feerate taking into account the minimum relay feerate and user set minimum transaction feerate.
 
CFeeRate GetMinimumFeeRate (const CWallet &wallet, const CCoinControl &coin_control)
 Estimate the minimum fee rate considering user set parameters and the required fee.
 

Function Documentation

◆ GetMinimumFee()

Amount GetMinimumFee ( const CWallet wallet,
unsigned int  nTxBytes,
const CCoinControl coin_control 
)

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

Definition at line 17 of file fees.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetMinimumFeeRate()

CFeeRate GetMinimumFeeRate ( const CWallet wallet,
const CCoinControl coin_control 
)

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

Definition at line 26 of file fees.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetRequiredFee()

Amount GetRequiredFee ( const CWallet wallet,
unsigned int  nTxBytes 
)

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

Definition at line 13 of file fees.cpp.

Here is the call graph for this function:

◆ GetRequiredFeeRate()

CFeeRate GetRequiredFeeRate ( const CWallet wallet)

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

Definition at line 22 of file fees.cpp.

Here is the caller graph for this function: