diff options
author | Alex Morcos <morcos@chaincode.com> | 2017-06-14 15:15:40 -0400 |
---|---|---|
committer | Alex Morcos <morcos@chaincode.com> | 2017-07-10 12:40:02 -0400 |
commit | f135923ee2cf1a1a9a436626dc5b9219f8ad97da (patch) | |
tree | adde79ee8ba6dc1a97167c2b8686b7d59654f9e4 /src/wallet/feebumper.h | |
parent | f0bf33da8357bd6aff100bbe5b84a7f01937e379 (diff) |
Add RPC options for RBF, confirmation target, and conservative fee estimation.
Add support for setting each of these attributes on a per RPC call basis to sendtoaddress, sendmany, fundrawtransaction (already had RBF), and bumpfee (already had RBF and conf target).
Diffstat (limited to 'src/wallet/feebumper.h')
-rw-r--r-- | src/wallet/feebumper.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wallet/feebumper.h b/src/wallet/feebumper.h index fc32316704..11e2f5f953 100644 --- a/src/wallet/feebumper.h +++ b/src/wallet/feebumper.h @@ -10,6 +10,7 @@ class CWallet; class CWalletTx; class uint256; +enum class FeeEstimateMode; enum class BumpFeeResult { @@ -24,7 +25,7 @@ enum class BumpFeeResult class CFeeBumper { public: - CFeeBumper(const CWallet *pWalletIn, const uint256 txidIn, int newConfirmTarget, bool ignoreGlobalPayTxFee, CAmount totalFee, bool newTxReplaceable); + CFeeBumper(const CWallet *pWalletIn, const uint256 txidIn, int newConfirmTarget, bool ignoreGlobalPayTxFee, CAmount totalFee, bool newTxReplaceable, FeeEstimateMode fee_mode); BumpFeeResult getResult() const { return currentResult; } const std::vector<std::string>& getErrors() const { return vErrors; } CAmount getOldFee() const { return nOldFee; } |