massa icon indicating copy to clipboard operation
massa copied to clipboard

Add a rust representation of disk ledger keys

Open Eitu33 opened this issue 2 years ago • 0 comments

Context

  • Disk ledger keys are currently handled as byte vectors, example in get_ledger_part return type
  • It would be better to have a rust representation of disk ledger keys

TODO

  • [ ] Define the KeyType enum
  • [ ] Define the Key type, should contain a KeyType and an Address
  • [ ] Implement Ser & Deser
  • [ ] Replace occurrences of byte vectors keys in ledger_db.rs, massa-bootstrap client.rs, server.rs with Key's

Eitu33 avatar Jun 03 '22 12:06 Eitu33