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

Go to the source code of this file.

Namespaces

namespace  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 MinimumFeeRateResult &min_fee_rate, unsigned int nTxBytes)
 Return the minimum fee for this size given a fee rate result. 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...
 
MinimumFeeRateResult wallet::GetMinimumFeeRate (const CWallet &wallet, const CCoinControl &coin_control)
 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...