You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge #6292: refactor: remove dependency of llmq/chainlocks, llmq/quorum_block_processor, ehf_signals on PeerManager
c77216e docs: explain meaning of MessageProcessingResult's members (Konstantin Akimov)
d0f1778 refactor: drop dependency of EhfSignals on PeerManager (Konstantin Akimov)
1d13f01 refactor: remove dependency of QuorumBlockProcessor on PeerManager (Konstantin Akimov)
f1c6d17 refactor: remove dependency of chainlocks on PeerManager (Konstantin Akimov)
5383421 refactor: HandleNewRecoveredSig return PostProcessingMessage (Konstantin Akimov)
09565fe refactor: new type of message processing result for resolving circular dependency over PeerManager (Konstantin Akimov)
d54b3ee refactor: move ChainLocksSigningEnabled from header to cpp file as static function (Konstantin Akimov)
cab700a refactor: remove unused include spork.h from validation.cpp (Konstantin Akimov)
Pull request description:
## Issue being fixed or feature implemented
It reduces circular dependencies and simplify code.
## What was done?
Removed circular dependency over PeerManager for llmq::QuorumBlockProcessor, llmq::CEhfSignals, llmq::ChainLocks, and several extra useful refactorings: see commits.
## How Has This Been Tested?
Run `test/lint/lint-circular-dependencies.sh`
## 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 c77216e
PastaPastaPasta:
utACK c77216e
Tree-SHA512: e01829a694c9bfbbe70bc346ef5949b5e9e4532560f4c40ee292952f05f0fd23ecf4bd978e918f74dd3422c1b90231fd7d9984f491f3ab8f7eb08072540406b4
0 commit comments