spacemeshos/poet

Consider migrating from XDR

Aperta

#386 aperta il 12 set 2023

 (0 commenti) (0 reazioni) (0 assegnatari)Go (15 fork)auto 404
area/poetgood first issueoptimizationrefactor

Metriche repository

Star
 (24 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor