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

Move pos related crates into a separate folder #2971

Closed
Pana opened this issue Dec 2, 2024 · 0 comments · Fixed by #2976
Closed

Move pos related crates into a separate folder #2971

Pana opened this issue Dec 2, 2024 · 0 comments · Fixed by #2976
Assignees

Comments

@Pana
Copy link
Member

Pana commented Dec 2, 2024

The code related to POS is currently located mainly in the crates/cfxcore/core/src/pos directory, which includes code for interacting with POW as well as many standalone crates. It is suggested to move the standalone crates to a separate directory, such as crates/pos, to avoid deep nesting in the code structure and achieve a flatter crate organization.

This will also prepare for the future split of POS into an independent consensus client.

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 a pull request may close this issue.

2 participants