spacemeshos/poet

Consider migrating from XDR

Open

#386 opened on Sep 12, 2023

 (0 comments) (0 reactions) (0 assignees)Go (15 forks)auto 404
area/poetgood first issueoptimizationrefactor

Repository metrics

Stars
 (24 stars)
PR merge metrics
 (PR metrics pending)

Description

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.

Contributor guide