nimbus-eth1/nimbus/db/aristo/aristo_init
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
..
aristo_rocksdb Aristo db update foreground caching (#1605) 2023-06-22 12:13:24 +01:00
aristo_init_common.nim Aristo db update foreground caching (#1605) 2023-06-22 12:13:24 +01:00
aristo_memory.nim Aristo db update foreground caching (#1605) 2023-06-22 12:13:24 +01:00
aristo_rocksdb.nim Aristo db update foreground caching (#1605) 2023-06-22 12:13:24 +01:00