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