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

[BFT] Refactor "full DKG info" in bootstrapping process #6726

Closed
durkmurder opened this issue Nov 15, 2024 · 0 comments
Closed

[BFT] Refactor "full DKG info" in bootstrapping process #6726

durkmurder opened this issue Nov 15, 2024 · 0 comments
Assignees

Comments

@durkmurder
Copy link
Member

since we are mentioning the "full DKG info" here, I would be inclined to include the indexMap. Feel free to skip, but if it is easy and doesn't break other stuff, I think we should persist the indexMap too.

Originally posted by @AlexHentschel in #6424 (comment)

Currently EncodableFullDKG doesn't include IndexMap and generally has a dangerous structure for serialization where private keys and public keys needs to be ordered in same way. As a proposal refactor EncodableFullDKG to include index map as well as group participant data in single structure and encode list of those structures instead of decomposing each field into a slice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant