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: drop some of circular dependencies over dkgsession #6282

Merged
merged 11 commits into from
Sep 25, 2024

Conversation

knst
Copy link
Collaborator

@knst knst commented Sep 20, 2024

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:

  • 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 21.2 milestone Sep 20, 2024
Copy link

This pull request has conflicts, please rebase.

Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK 74a5a9f

Copy link
Member

@PastaPastaPasta PastaPastaPasta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK 74a5a9f

@PastaPastaPasta PastaPastaPasta merged commit 0a9a83f into dashpay:develop Sep 25, 2024
39 checks passed
@knst knst deleted the refactor-exclude-evo-h branch September 25, 2024 15:39
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.

3 participants