mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-21 12:18:13 +02:00
Merge #17513: refactor, qt: Nuke some circular dependencies
5f50599ae7refactor: Cleanup headers from walletmodel.h (Hennadii Stepanov)a53e9895dbrefactor: Nuke walletmodel circular dependency (Hennadii Stepanov)49c4211c04refactor: Nuke walletmodeltransaction circular dep (Hennadii Stepanov)567cb44eb9refactor: Nuke guiutil circular dependency (Hennadii Stepanov)73b5505cferefactor: Move SendCoinsRecipient in own header (Hennadii Stepanov) Pull request description: This PR gets rid of the following circular dependencies: - `qt/guiutil` -> `qt/walletmodel` -> `qt/optionsmodel` -> `qt/guiutil` - `qt/walletmodel` -> `qt/walletmodeltransaction` -> `qt/walletmodel` - `qt/paymentserver` -> `qt/walletmodel` -> `qt/paymentserver` ACKs for top commit: Sjors: ACK5f50599ae7instagibbs: code review ACK5f50599ae7practicalswift: ACK5f50599ae7-- diff looks correct promag: ACK5f50599ae7. Tree-SHA512: 070686ac82b5c68c3ef1b8b4c16b4b916b84d80d1e92e42287fdd9454671bea54779c0d2db4db623750aaaf180beaba212137190d6a427113905e2c4be5c60c5
This commit is contained in:
@@ -18,17 +18,14 @@ 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"
|
||||
"qt/walletmodel -> qt/walletmodeltransaction -> qt/walletmodel"
|
||||
"txmempool -> validation -> txmempool"
|
||||
"wallet/coincontrol -> wallet/wallet -> wallet/coincontrol"
|
||||
"wallet/fees -> wallet/wallet -> wallet/fees"
|
||||
"wallet/wallet -> wallet/walletdb -> wallet/wallet"
|
||||
"policy/fees -> txmempool -> validation -> policy/fees"
|
||||
"qt/guiutil -> qt/walletmodel -> qt/optionsmodel -> qt/guiutil"
|
||||
"txmempool -> validation -> validationinterface -> txmempool"
|
||||
"wallet/scriptpubkeyman -> wallet/wallet -> wallet/scriptpubkeyman"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user