Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/fees.h
Show All 10 Lines | |||||
class CBlockPolicyEstimator; | class CBlockPolicyEstimator; | ||||
class CCoinControl; | class CCoinControl; | ||||
class CFeeRate; | class CFeeRate; | ||||
class CTxMemPool; | class CTxMemPool; | ||||
struct FeeCalculation; | struct FeeCalculation; | ||||
/** | /** | ||||
* Return the minimum required fee taking into account the | |||||
* floating relay fee and user set minimum transaction fee | |||||
*/ | |||||
Amount GetRequiredFee(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(unsigned int nTxBytes, unsigned int nConfirmTarget, | Amount GetMinimumFee(unsigned int nTxBytes, unsigned int nConfirmTarget, | ||||
const CTxMemPool &pool); | const CTxMemPool &pool); | ||||
/** | /** | ||||
* Estimate the minimum fee considering required fee and targetFee or if 0 | * Estimate the minimum fee considering required fee and targetFee or if 0 | ||||
* then fee estimation for nConfirmTarget | * then fee estimation for nConfirmTarget | ||||
*/ | */ | ||||
Amount GetMinimumFee(unsigned int nTxBytes, unsigned int nConfirmTarget, | Amount GetMinimumFee(unsigned int nTxBytes, unsigned int nConfirmTarget, | ||||
const CTxMemPool &pool, Amount targetFee); | const CTxMemPool &pool, Amount targetFee); | ||||
#endif // BITCOIN_WALLET_FEES_H | #endif // BITCOIN_WALLET_FEES_H |