Bitcoin Core  22.99.0
P2P Digital Currency
Namespaces | Functions
fees.cpp File Reference
#include <wallet/fees.h>
#include <wallet/coincontrol.h>
#include <wallet/wallet.h>
Include dependency graph for fees.cpp:

Go to the source code of this file.

Namespaces

 wallet
 

Functions

CAmount wallet::GetRequiredFee (const CWallet &wallet, unsigned int nTxBytes)
 Return the minimum required absolute fee for this size based on the required fee rate. More...
 
CAmount wallet::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. More...
 
CFeeRate wallet::GetRequiredFeeRate (const CWallet &wallet)
 Return the minimum required feerate taking into account the minimum relay feerate and user set minimum transaction feerate. More...
 
CFeeRate wallet::GetMinimumFeeRate (const CWallet &wallet, const CCoinControl &coin_control, FeeCalculation *feeCalc)
 Estimate the minimum fee rate considering user set parameters and the required fee. More...
 
CFeeRate wallet::GetDiscardRate (const CWallet &wallet)
 Return the maximum feerate for discarding change. More...