massa
massa copied to clipboard
Add a rust representation of disk ledger keys
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 aKeyType
and anAddress
- [ ] Implement Ser & Deser
- [ ] Replace occurrences of byte vectors keys in
ledger_db.rs
, massa-bootstrapclient.rs
,server.rs
withKey
's