nimbus-eth1/nimbus/db/aristo/aristo_desc
Jordan Hrycaj 0d4ef023ed
Update aristo journal functionality (#2155)
* Aristo: Code cosmetics, e.g. update some CamelCase names

* CoreDb+Aristo: Provide oldest known state root implied

details:
  The Aristo journal allows to recover earlier but not all state roots.

* Aristo: Fix journal backward index operator, e.g. `[^1]`

* Aristo: Fix journal updater

why:
  The `fifosStore()` store function slightly misinterpreted the update
  instructions when translation is to database `put()` functions. The
  effect was that the journal was ever growing due to stale entries which
  were never deleted.

* CoreDb+Aristo: Provide utils for purging stale data from the KVT

details:
  See earlier patch, not all state roots are available. This patch
  provides a mapping from some state root to a block number and allows to
  remove all KVT data related to a particular block number

* Aristo+Kvt: Implement a clean up schedule for expired data in KVT

why:
  For a single state ledger like `Aristo`, there is only a limited
  backlog of states. So KVT data (i.e. headers etc.) are cleaned up
  regularly

* Fix copyright year
2024-04-26 13:43:52 +00:00
..
desc_backend.nim Misc updates for full sync (#2140) 2024-04-19 18:37:27 +00:00
desc_error.nim Update aristo journal functionality (#2155) 2024-04-26 13:43:52 +00:00
desc_identifiers.nim Core db+aristo re org tracer (#2123) 2024-04-03 15:48:35 +00:00
desc_structural.nim Update aristo journal functionality (#2155) 2024-04-26 13:43:52 +00:00