Skip to content

Commit 3fb3fad

Browse files
committed
Merge #8990: moveonly: move coincontrol to src/wallet
1ae5839 moveonly: move `coincontrol` to `src/wallet` (Wladimir J. van der Laan)
2 parents 7b1bfa3 + 1ae5839 commit 3fb3fad

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

src/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ BITCOIN_CORE_H = \
8787
checkpoints.h \
8888
checkqueue.h \
8989
clientversion.h \
90-
coincontrol.h \
9190
coins.h \
9291
compat.h \
9392
compat/byteswap.h \
@@ -147,6 +146,7 @@ BITCOIN_CORE_H = \
147146
utiltime.h \
148147
validationinterface.h \
149148
versionbits.h \
149+
wallet/coincontrol.h \
150150
wallet/crypter.h \
151151
wallet/db.h \
152152
wallet/rpcwallet.h \

src/qt/coincontroldialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#include "txmempool.h"
1414
#include "walletmodel.h"
1515

16-
#include "coincontrol.h"
16+
#include "wallet/coincontrol.h"
1717
#include "init.h"
1818
#include "main.h" // For minRelayTxFee
1919
#include "wallet/wallet.h"

src/qt/sendcoinsdialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#include "walletmodel.h"
1717

1818
#include "base58.h"
19-
#include "coincontrol.h"
19+
#include "wallet/coincontrol.h"
2020
#include "main.h" // mempool and minRelayTxFee
2121
#include "ui_interface.h"
2222
#include "txmempool.h"

src/coincontrol.h renamed to src/wallet/coincontrol.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// Distributed under the MIT software license, see the accompanying
33
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
44

5-
#ifndef BITCOIN_COINCONTROL_H
6-
#define BITCOIN_COINCONTROL_H
5+
#ifndef BITCOIN_WALLET_COINCONTROL_H
6+
#define BITCOIN_WALLET_COINCONTROL_H
77

88
#include "primitives/transaction.h"
99

@@ -73,4 +73,4 @@ class CCoinControl
7373
std::set<COutPoint> setSelected;
7474
};
7575

76-
#endif // BITCOIN_COINCONTROL_H
76+
#endif // BITCOIN_WALLET_COINCONTROL_H

src/wallet/wallet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include "base58.h"
99
#include "checkpoints.h"
1010
#include "chain.h"
11-
#include "coincontrol.h"
11+
#include "wallet/coincontrol.h"
1212
#include "consensus/consensus.h"
1313
#include "consensus/validation.h"
1414
#include "key.h"

0 commit comments

Comments
 (0)