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

Consider migrating from XDR #386

Open
poszu opened this issue Sep 12, 2023 · 0 comments
Open

Consider migrating from XDR #386

poszu opened this issue Sep 12, 2023 · 0 comments

Comments

@poszu
Copy link
Contributor

poszu commented Sep 12, 2023

The github.com/nullstyle/go-xdr/xdr is used for:

  • serializing state (server and rounds in-progress)
  • serializing values to store in leveldb

XDR usefulness is questionable. We could migrate the state files to something like JSON for easier maintainability (it's human-readable and easily editable). The DBs could be migrated to https://github.com/spacemeshos/go-scale which should be faster.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant