File tree Expand file tree Collapse file tree 5 files changed +8
-4
lines changed
Expand file tree Collapse file tree 5 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 2727#include < wallet/coincontrol.h>
2828#include < wallet/fees.h>
2929#include < wallet/psbtwallet.h>
30+ #include < wallet/wallet.h>
3031
3132#include < QFontMetrics>
3233#include < QScrollBar>
Original file line number Diff line number Diff line change 66#define BITCOIN_WALLET_COINCONTROL_H
77
88#include < optional.h>
9+ #include < outputtype.h>
910#include < policy/feerate.h>
1011#include < policy/fees.h>
1112#include < primitives/transaction.h>
12- #include < wallet/wallet .h>
13+ #include < script/standard .h>
1314
1415const int DEFAULT_MIN_DEPTH = 0 ;
1516const int DEFAULT_MAX_DEPTH = 9999999 ;
1617
18+ // ! Default for -avoidpartialspends
19+ static constexpr bool DEFAULT_AVOIDPARTIALSPENDS = false ;
20+
1721/* * Coin Control Features. */
1822class CCoinControl
1923{
Original file line number Diff line number Diff line change 88#include < net.h>
99#include < node/context.h>
1010#include < outputtype.h>
11+ #include < ui_interface.h>
1112#include < util/moneystr.h>
1213#include < util/system.h>
1314#include < util/translation.h>
15+ #include < wallet/coincontrol.h>
1416#include < wallet/wallet.h>
1517#include < walletinitinterface.h>
1618
Original file line number Diff line number Diff line change @@ -71,8 +71,6 @@ static const CAmount WALLET_INCREMENTAL_RELAY_FEE = 5000;
7171static const bool DEFAULT_SPEND_ZEROCONF_CHANGE = true ;
7272// ! Default for -walletrejectlongchains
7373static const bool DEFAULT_WALLET_REJECT_LONG_CHAINS = false ;
74- // ! Default for -avoidpartialspends
75- static const bool DEFAULT_AVOIDPARTIALSPENDS = false ;
7674// ! -txconfirmtarget default
7775static const unsigned int DEFAULT_TX_CONFIRM_TARGET = 6 ;
7876// ! -walletrbf default
Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ EXPECTED_CIRCULAR_DEPENDENCIES=(
2222 " qt/sendcoinsdialog -> qt/walletmodel -> qt/sendcoinsdialog"
2323 " qt/transactiontablemodel -> qt/walletmodel -> qt/transactiontablemodel"
2424 " txmempool -> validation -> txmempool"
25- " wallet/coincontrol -> wallet/wallet -> wallet/coincontrol"
2625 " wallet/fees -> wallet/wallet -> wallet/fees"
2726 " wallet/wallet -> wallet/walletdb -> wallet/wallet"
2827 " policy/fees -> txmempool -> validation -> policy/fees"
You can’t perform that action at this time.
0 commit comments