aboutsummaryrefslogtreecommitdiff
path: root/src/coincontrol.h
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2016-04-28 22:04:07 +0200
committerJonas Schnelli <dev@jonasschnelli.ch>2016-04-28 22:04:07 +0200
commit3b35e4896b5b8be9ffd6dacddb081f69a5b77903 (patch)
treec781ac302b21a99769e14ba5b5ec7288c84daf8d /src/coincontrol.h
parenta9c8b744e8875785ff9a3768df3517b2d9ed7a36 (diff)
downloadbitcoin-3b35e4896b5b8be9ffd6dacddb081f69a5b77903.tar.xz
[RPC] add feerate option to fundrawtransaction
Diffstat (limited to 'src/coincontrol.h')
-rw-r--r--src/coincontrol.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/coincontrol.h b/src/coincontrol.h
index 12fe9ce219..6129397bc8 100644
--- a/src/coincontrol.h
+++ b/src/coincontrol.h
@@ -18,6 +18,8 @@ public:
bool fAllowWatchOnly;
//! Minimum absolute fee (not per kilobyte)
CAmount nMinimumTotalFee;
+ //! Feerate to use (0 = estimate fee with payTxFee fallback)
+ CFeeRate nFeeRate;
CCoinControl()
{
@@ -31,6 +33,7 @@ public:
fAllowWatchOnly = false;
setSelected.clear();
nMinimumTotalFee = 0;
+ nFeeRate = CFeeRate(0);
}
bool HasSelected() const