diff options
author | Alex Morcos <morcos@chaincode.com> | 2017-04-25 15:39:32 -0400 |
---|---|---|
committer | Alex Morcos <morcos@chaincode.com> | 2017-06-13 12:35:04 -0400 |
commit | 1bebfc8d3aa615dfdd0221f21b87319e36821b71 (patch) | |
tree | 092a7224efb48fac182bc26aa2aef39844884c01 /src/wallet/wallet.h | |
parent | 9c248e39f2807a7f89e555e99cc55cb2de1ad335 (diff) |
Output Fee Estimation Calculations in CreateTransaction
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r-- | src/wallet/wallet.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index a9c50aee4d..f0bf2c5afb 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -76,6 +76,7 @@ class CScheduler; class CTxMemPool; class CBlockPolicyEstimator; class CWalletTx; +class FeeCalculation; /** (client) version numbers for particular wallet features */ enum WalletFeature @@ -956,7 +957,7 @@ public: * Estimate the minimum fee considering user set parameters * and the required fee */ - static CAmount GetMinimumFee(unsigned int nTxBytes, unsigned int nConfirmTarget, const CTxMemPool& pool, const CBlockPolicyEstimator& estimator, bool ignoreGlobalPayTxFee = false); + static CAmount GetMinimumFee(unsigned int nTxBytes, unsigned int nConfirmTarget, const CTxMemPool& pool, const CBlockPolicyEstimator& estimator, FeeCalculation *feeCalc = nullptr, bool ignoreGlobalPayTxFee = false); /** * Return the minimum required fee taking into account the * floating relay fee and user set minimum transaction fee |