mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-05 13:11:57 +02:00
refactor: Nuke walletmodel circular dependency
This commit is contained in:
@ -37,13 +37,16 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <qt/sendcoinsrecipient.h>
|
#include <qt/sendcoinsrecipient.h>
|
||||||
#include <qt/walletmodel.h>
|
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include <QString>
|
#include <QString>
|
||||||
|
|
||||||
class OptionsModel;
|
class OptionsModel;
|
||||||
|
|
||||||
|
namespace interfaces {
|
||||||
|
class Node;
|
||||||
|
} // namespace interfaces
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
class QApplication;
|
class QApplication;
|
||||||
class QByteArray;
|
class QByteArray;
|
||||||
|
@ -15,11 +15,12 @@
|
|||||||
|
|
||||||
#include <consensus/consensus.h>
|
#include <consensus/consensus.h>
|
||||||
#include <interfaces/node.h>
|
#include <interfaces/node.h>
|
||||||
|
#include <interfaces/wallet.h>
|
||||||
#include <key_io.h>
|
#include <key_io.h>
|
||||||
#include <validation.h>
|
#include <policy/policy.h>
|
||||||
#include <script/script.h>
|
#include <script/script.h>
|
||||||
#include <util/system.h>
|
#include <util/system.h>
|
||||||
#include <policy/policy.h>
|
#include <validation.h>
|
||||||
#include <wallet/ismine.h>
|
#include <wallet/ismine.h>
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
@ -18,7 +18,6 @@ EXPECTED_CIRCULAR_DEPENDENCIES=(
|
|||||||
"qt/bitcoingui -> qt/walletframe -> qt/bitcoingui"
|
"qt/bitcoingui -> qt/walletframe -> qt/bitcoingui"
|
||||||
"qt/bitcoingui -> qt/walletview -> qt/bitcoingui"
|
"qt/bitcoingui -> qt/walletview -> qt/bitcoingui"
|
||||||
"qt/clientmodel -> qt/peertablemodel -> qt/clientmodel"
|
"qt/clientmodel -> qt/peertablemodel -> qt/clientmodel"
|
||||||
"qt/paymentserver -> qt/walletmodel -> qt/paymentserver"
|
|
||||||
"qt/recentrequeststablemodel -> qt/walletmodel -> qt/recentrequeststablemodel"
|
"qt/recentrequeststablemodel -> qt/walletmodel -> qt/recentrequeststablemodel"
|
||||||
"qt/sendcoinsdialog -> qt/walletmodel -> qt/sendcoinsdialog"
|
"qt/sendcoinsdialog -> qt/walletmodel -> qt/sendcoinsdialog"
|
||||||
"qt/transactiontablemodel -> qt/walletmodel -> qt/transactiontablemodel"
|
"qt/transactiontablemodel -> qt/walletmodel -> qt/transactiontablemodel"
|
||||||
|
Reference in New Issue
Block a user