trie_database.nim 234 B

12345678910111213
  1. type
  2. KeccakHash* = object
  3. data*: string
  4. BytesRange* = object
  5. bytes*: string
  6. TrieDatabase* = concept db
  7. put(var db, KeccakHash, string) is bool
  8. del(var db, KeccakHash) is bool
  9. get(db, KeccakHash) is string