Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/fees.h
Show All 19 Lines | |||||
*/ | */ | ||||
Amount GetRequiredFee(const CWallet &wallet, unsigned int nTxBytes); | Amount GetRequiredFee(const CWallet &wallet, unsigned int nTxBytes); | ||||
/** | /** | ||||
* Estimate the minimum fee considering user set parameters | * Estimate the minimum fee considering user set parameters | ||||
* and the required fee | * and the required fee | ||||
*/ | */ | ||||
Amount GetMinimumFee(const CWallet &wallet, unsigned int nTxBytes, | Amount GetMinimumFee(const CWallet &wallet, unsigned int nTxBytes, | ||||
const CCoinControl &coin_control, const CTxMemPool &pool); | const CCoinControl &coin_control); | ||||
/** | /** | ||||
* Return the minimum required feerate taking into account the | * Return the minimum required feerate taking into account the | ||||
* minimum relay feerate and user set minimum transaction feerate | * minimum relay feerate and user set minimum transaction feerate | ||||
*/ | */ | ||||
CFeeRate GetRequiredFeeRate(const CWallet &wallet); | CFeeRate GetRequiredFeeRate(const CWallet &wallet); | ||||
/** | /** | ||||
* Estimate the minimum fee rate considering user set parameters | * Estimate the minimum fee rate considering user set parameters | ||||
* and the required fee | * and the required fee | ||||
*/ | */ | ||||
CFeeRate GetMinimumFeeRate(const CWallet &wallet, | CFeeRate GetMinimumFeeRate(const CWallet &wallet, | ||||
const CCoinControl &coin_control, | const CCoinControl &coin_control); | ||||
const CTxMemPool &pool); | |||||
#endif // BITCOIN_WALLET_FEES_H | #endif // BITCOIN_WALLET_FEES_H |