Bitcoin ABC  0.24.7
P2P Digital Currency
Functions
fees.h File Reference
#include <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. More...
 
Amount GetMinimumFee (const CWallet &wallet, unsigned int nTxBytes, const CCoinControl &coin_control)
 Estimate the minimum fee considering user set parameters and the required fee. More...
 
CFeeRate GetRequiredFeeRate (const CWallet &wallet)
 Return the minimum required feerate taking into account the minimum relay feerate and user set minimum transaction feerate. More...
 
CFeeRate GetMinimumFeeRate (const CWallet &wallet, const CCoinControl &coin_control)
 Estimate the minimum fee rate considering user set parameters and the required fee. More...
 

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 call graph for this function:
Here is the caller graph for this function: