Skip to content
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: remove dependency of llmq/chainlocks, llmq/quorum_block_processor, ehf_signals on PeerManager #6292

Draft
wants to merge 8 commits into
base: develop
Choose a base branch
from

Conversation

knst
Copy link
Collaborator

@knst knst commented Sep 27, 2024

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:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation
  • I have assigned this pull request to a milestone

@knst knst added this to the 22 milestone Sep 27, 2024
@knst knst marked this pull request as draft September 27, 2024 07:00
@knst knst force-pushed the fix-circular-net-processing-p3 branch from 6e90449 to b3fc5f6 Compare September 27, 2024 07:14
@knst knst force-pushed the fix-circular-net-processing-p3 branch from b3fc5f6 to 5e489bc Compare September 30, 2024 07:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant