aboutsummaryrefslogtreecommitdiff
path: root/src/coincontrol.h
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2016-05-06 11:01:50 +0200
committerJonas Schnelli <dev@jonasschnelli.ch>2016-05-06 11:01:50 +0200
commit04eaa9095813b854c4299027c595fb9ebaf6f934 (patch)
treecdeec105bc51a76f2d265aab08894ccb67d73097 /src/coincontrol.h
parent3b35e4896b5b8be9ffd6dacddb081f69a5b77903 (diff)
Add more clear interface for CoinControl.h regarding individual feerate
Diffstat (limited to 'src/coincontrol.h')
-rw-r--r--src/coincontrol.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/coincontrol.h b/src/coincontrol.h
index 6129397bc8..e33adc4d2b 100644
--- a/src/coincontrol.h
+++ b/src/coincontrol.h
@@ -18,7 +18,9 @@ public:
bool fAllowWatchOnly;
//! Minimum absolute fee (not per kilobyte)
CAmount nMinimumTotalFee;
- //! Feerate to use (0 = estimate fee with payTxFee fallback)
+ //! Override estimated feerate
+ bool fOverrideFeeRate;
+ //! Feerate to use if overrideFeeRate is true
CFeeRate nFeeRate;
CCoinControl()
@@ -34,6 +36,7 @@ public:
setSelected.clear();
nMinimumTotalFee = 0;
nFeeRate = CFeeRate(0);
+ fOverrideFeeRate = false;
}
bool HasSelected() const