mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-10 11:57:28 -03:00
refactor: Nuke walletmodel circular dependency
This commit is contained in:
parent
49c4211c04
commit
a53e9895db
3 changed files with 7 additions and 4 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue