aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/coincontrol.cpp
diff options
context:
space:
mode:
authorKarl-Johan Alm <karljohan-alm@garage.co.jp>2018-07-25 16:24:55 +0900
committerKarl-Johan Alm <karljohan-alm@garage.co.jp>2019-05-29 18:40:31 +0900
commiteec15662fad917b169f5e3b8baaf4301dcf00a7b (patch)
tree193aa9e8d44a82c33740e663a93a8bf1ed041086 /src/wallet/coincontrol.cpp
parent58928098c299efdc7c5ddf2dc20716ca5272f21b (diff)
downloadbitcoin-eec15662fad917b169f5e3b8baaf4301dcf00a7b.tar.xz
wallet: avoid reuse flags
Add m_avoid_address_reuse flag to coin control object. Add avoid_reuse wallet flag and accompanying strings/caveats.
Diffstat (limited to 'src/wallet/coincontrol.cpp')
-rw-r--r--src/wallet/coincontrol.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/coincontrol.cpp b/src/wallet/coincontrol.cpp
index 87d2c4f06e..60bce66839 100644
--- a/src/wallet/coincontrol.cpp
+++ b/src/wallet/coincontrol.cpp
@@ -13,6 +13,7 @@ void CCoinControl::SetNull()
fAllowOtherInputs = false;
fAllowWatchOnly = false;
m_avoid_partial_spends = gArgs.GetBoolArg("-avoidpartialspends", DEFAULT_AVOIDPARTIALSPENDS);
+ m_avoid_address_reuse = false;
setSelected.clear();
m_feerate.reset();
fOverrideFeeRate = false;