nimbus-eth1/nimbus/db/aristo/aristo_init/aristo_rocksdb
Jordan Hrycaj 83dbe87159
Aristo db update foreground caching (#1605)
* Fix vertex ID generator state handling for rocksdb backend

why:
 * Key error in walk iterator
 * Needs to be loaded when opening the database

* Use non-zero sub-table prefixes for rocksdb

why:
  Handy for debugging

* Fix error code for missing key on rocksdb backend

why:
  Previously returned `VOID_HASH_KEY` rather than `GetKeyNotFound`

* Explicitly copy vertex data between internal table and function/result argument

why:
  Function argument or return reference may still refer to the same data
  object.

* Updated error symbols

why:
  Error symbol names for the hike module now start with the prefix `Hike`.

* Write back modified branch node into local top layer cache

why:
  With the backend available, the source of the branch node references
  might not be the top layer cache. So any change must be explicitely
  recorded.
2023-06-22 12:13:24 +01:00
..
rdb_desc.nim Aristo db with storage backends (#1603) 2023-06-20 14:26:25 +01:00
rdb_get.nim Aristo db with storage backends (#1603) 2023-06-20 14:26:25 +01:00
rdb_init.nim Aristo db with storage backends (#1603) 2023-06-20 14:26:25 +01:00
rdb_put.nim Aristo db with storage backends (#1603) 2023-06-20 14:26:25 +01:00
rdb_walk.nim Aristo db update foreground caching (#1605) 2023-06-22 12:13:24 +01:00