forked from bitcoin/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge #6282: refactor: drop some of circular dependencies over dkgses…
…sion 74a5a9f style: apply clang-format (Konstantin Akimov) db9798f refactor: move call GetQuorumMembers inside Init() (Konstantin Akimov) 9593566 refactor: move pQuorumBaseBlockIndex from Init() to constructor in CDKGSession (Konstantin Akimov) 9f3eb6b perf: check DIP0003 before CDKGSession initialization (Konstantin Akimov) 7f815cb refactor: remove unused constructor of CDKGLogger (Konstantin Akimov) c82672a refactor: remove dependency of CDKGSession on PeerManager (Konstantin Akimov) fb78b0c refactor: remove retBan flag from ReceiveMessage (Konstantin Akimov) d26d4ab refactor: remove dependency of dkgsessionmgr on dkgsession (Konstantin Akimov) d361b11 refactor: moved including llmq/dkgsession.h from dkgsessionmgr.h to cpp file (Konstantin Akimov) e77aeb3 refactor: removed including quorums.h from chainlocks.h (Konstantin Akimov) 6f7068e refactor: remove exceeding evodb.h from headers (Konstantin Akimov) Pull request description: ## Issue being fixed or feature implemented We have 72 circular dependencies of dash specific code. This PR removes 2 of them, over dkgsession. ## What was done? Refactor dkgsession initialization, message processing, dropped unused arguments, re-distributed code between functions and modules... See each commit. Also optimized headers: excluded evo/evodb.h and llmq/quorums.h from the headers where they are not needed. ## How Has This Been Tested? Run `test/lint/lint-circular-dependencies.sh` Run unit/functional tests ## Breaking Changes N/A ## Checklist: - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas - [x] I have added or updated relevant unit/integration/functional/e2e tests - [x] I have made corresponding changes to the documentation - [x] I have assigned this pull request to a milestone ACKs for top commit: UdjinM6: utACK 74a5a9f PastaPastaPasta: utACK 74a5a9f Tree-SHA512: f3adabe6a7bc6c4dcae6430be6857b31a0722d7f605d6651f3ff93c6fcb350a7312a9a0ecbda8ac131ffef6fbf2499700112de3990c7512ddb057bde7cc42665
- Loading branch information
Showing
20 changed files
with
249 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.