-
Notifications
You must be signed in to change notification settings - Fork 36.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor, qt: Nuke some circular dependencies #17513
Conversation
Concept ACK Wow, three nuked circular dependencies in one go! Feels very good to see this suppression list shrink :) |
58470e0
to
580937e
Compare
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
fe054ef
to
e27c011
Compare
literally did a subset of this for #17492 concept ACK |
I was later pretty sure, just noting this would help my PR get smaller :) |
Co-authored-by: Gregory Sanders <[email protected]>
Co-authored-by: Gregory Sanders <[email protected]>
e27c011
to
5f50599
Compare
@instagibbs has been added as a co-author. |
ACK 5f50599 |
code review ACK 5f50599 |
ACK 567cb44 -- diff looks correct |
You've ACKed non-top commit ;) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 5f50599.
5f50599 refactor: Cleanup headers from walletmodel.h (Hennadii Stepanov) a53e989 refactor: Nuke walletmodel circular dependency (Hennadii Stepanov) 49c4211 refactor: Nuke walletmodeltransaction circular dep (Hennadii Stepanov) 567cb44 refactor: Nuke guiutil circular dependency (Hennadii Stepanov) 73b5505 refactor: 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: ACK 5f50599 instagibbs: code review ACK 5f50599 practicalswift: ACK 5f50599 -- diff looks correct promag: ACK 5f50599. Tree-SHA512: 070686ac82b5c68c3ef1b8b4c16b4b916b84d80d1e92e42287fdd9454671bea54779c0d2db4db623750aaaf180beaba212137190d6a427113905e2c4be5c60c5
5f50599 refactor: Cleanup headers from walletmodel.h (Hennadii Stepanov) a53e989 refactor: Nuke walletmodel circular dependency (Hennadii Stepanov) 49c4211 refactor: Nuke walletmodeltransaction circular dep (Hennadii Stepanov) 567cb44 refactor: Nuke guiutil circular dependency (Hennadii Stepanov) 73b5505 refactor: 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: ACK 5f50599 instagibbs: code review ACK 5f50599 practicalswift: ACK 5f50599 -- diff looks correct promag: ACK 5f50599. Tree-SHA512: 070686ac82b5c68c3ef1b8b4c16b4b916b84d80d1e92e42287fdd9454671bea54779c0d2db4db623750aaaf180beaba212137190d6a427113905e2c4be5c60c5
Summary: Co-authored-by: Gregory Sanders <[email protected]> Backport of Core [[bitcoin/bitcoin#17513 | PR17513]] - Part 1 of 4. Test Plan: `ninja && ninja check` Reviewers: O1 Bitcoin ABC, #bitcoin_abc, deadalnix Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, deadalnix Differential Revision: https://reviews.bitcoinabc.org/D7572
Summary: This is part 3 of 4 for backport of Core [[bitcoin/bitcoin#17513 | PR17513]] Commit [[bitcoin/bitcoin@5f50599 | 5f50599]] Depends on D7602 Test Plan: `ninja && ninja check` Reviewers: O1 Bitcoin ABC, #bitcoin_abc, deadalnix Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, deadalnix Subscribers: deadalnix Differential Revision: https://reviews.bitcoinabc.org/D7603
Summary: This conclude backport of [[bitcoin/bitcoin#17513 | PR17513]] Commit [[bitcoin/bitcoin@49c4211 | 49c4211 ]] Depends on D7603 Test Plan: `ninja && ninja check` `test/lint/lint-circular-dependencies.sh` Reviewers: O1 Bitcoin ABC, #bitcoin_abc, deadalnix Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, deadalnix Differential Revision: https://reviews.bitcoinabc.org/D7605
5f50599 refactor: Cleanup headers from walletmodel.h (Hennadii Stepanov) a53e989 refactor: Nuke walletmodel circular dependency (Hennadii Stepanov) 49c4211 refactor: Nuke walletmodeltransaction circular dep (Hennadii Stepanov) 567cb44 refactor: Nuke guiutil circular dependency (Hennadii Stepanov) 73b5505 refactor: 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: ACK 5f50599 instagibbs: code review ACK 5f50599 practicalswift: ACK 5f50599 -- diff looks correct promag: ACK 5f50599. Tree-SHA512: 070686ac82b5c68c3ef1b8b4c16b4b916b84d80d1e92e42287fdd9454671bea54779c0d2db4db623750aaaf180beaba212137190d6a427113905e2c4be5c60c5
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