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

fix(polka-storage-server): Have NodeType hold needed values #677

Open
aidan46 opened this issue Jan 15, 2025 · 0 comments
Open

fix(polka-storage-server): Have NodeType hold needed values #677

aidan46 opened this issue Jan 15, 2025 · 0 comments
Assignees

Comments

@aidan46
Copy link
Contributor

aidan46 commented Jan 15, 2025

I feel that we could turn this abstraction around and make the NodeType contain the necessary state for the respective node type.

This would make weird configs unrepresentable and avoid the Option<PeerId>

Originally posted by @jmg-duarte in #666 (comment)

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

No branches or pull requests

1 participant