refactor: Nuke walletmodel circular dependency

pull/764/head
Hennadii Stepanov 5 years ago
parent 49c4211c04
commit a53e9895db
No known key found for this signature in database
GPG Key ID: 410108112E7EA81F

@ -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…
Cancel
Save