#include <wallet/fees.h>
#include <policy/policy.h>
#include <txmempool.h>
#include <util.h>
#include <validation.h>
#include <wallet/coincontrol.h>
#include <wallet/wallet.h>
Go to the source code of this file.
|
CAmount | GetRequiredFee (const CWallet &wallet, unsigned int nTxBytes) |
| Return the minimum required absolute fee for this size based on the required fee rate. More...
|
|
CAmount | GetMinimumFee (const CWallet &wallet, unsigned int nTxBytes, const CCoinControl &coin_control, const CTxMemPool &pool, const CBlockPolicyEstimator &estimator, FeeCalculation *feeCalc) |
| 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, const CTxMemPool &pool, const CBlockPolicyEstimator &estimator, FeeCalculation *feeCalc) |
| Estimate the minimum fee rate considering user set parameters and the required fee. More...
|
|
CFeeRate | GetDiscardRate (const CWallet &wallet, const CBlockPolicyEstimator &estimator) |
| Return the maximum feerate for discarding change. More...
|
|
◆ GetDiscardRate()
Return the maximum feerate for discarding change.
Definition at line 93 of file fees.cpp.
◆ GetMinimumFee()
Estimate the minimum fee considering user set parameters and the required fee.
Definition at line 22 of file fees.cpp.
◆ GetMinimumFeeRate()
Estimate the minimum fee rate considering user set parameters and the required fee.
Definition at line 38 of file fees.cpp.
◆ GetRequiredFee()
CAmount 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 16 of file fees.cpp.
◆ GetRequiredFeeRate()
Return the minimum required feerate taking into account the minimum relay feerate and user set minimum transaction feerate.
Definition at line 33 of file fees.cpp.