aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/coincontrol.h
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2019-11-19 19:39:50 +0200
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2019-11-23 08:30:03 +0200
commit3ed5e6819a50434449d92cb96b9d8d141e8c7d2b (patch)
tree1a0c6614e275c53e743f2fb16e9877527d50e6be /src/wallet/coincontrol.h
parent0b79caf658019de2c65a53c9e11fd1d2f4c369b6 (diff)
downloadbitcoin-3ed5e6819a50434449d92cb96b9d8d141e8c7d2b.tar.xz
refactor: Nuke coincontrol circular dependency
Diffstat (limited to 'src/wallet/coincontrol.h')
-rw-r--r--src/wallet/coincontrol.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/wallet/coincontrol.h b/src/wallet/coincontrol.h
index fca4b75c45..2893d0ab3d 100644
--- a/src/wallet/coincontrol.h
+++ b/src/wallet/coincontrol.h
@@ -6,14 +6,18 @@
#define BITCOIN_WALLET_COINCONTROL_H
#include <optional.h>
+#include <outputtype.h>
#include <policy/feerate.h>
#include <policy/fees.h>
#include <primitives/transaction.h>
-#include <wallet/wallet.h>
+#include <script/standard.h>
const int DEFAULT_MIN_DEPTH = 0;
const int DEFAULT_MAX_DEPTH = 9999999;
+//! Default for -avoidpartialspends
+static constexpr bool DEFAULT_AVOIDPARTIALSPENDS = false;
+
/** Coin Control Features. */
class CCoinControl
{