besu icon indicating copy to clipboard operation
besu copied to clipboard

Implement Bonsai archive storage format

Open garyschulte opened this issue 1 year ago • 0 comments

Description

As a besu user, I want to have fast, lightweight access to historical data at block-level granularity.
Kikori is envisioned as:

  • for flat db's, an evolution of bonsai flat db, with block-level historical state data encoded in key suffixes
  • for state trie, implement a checkpointed state trie strategy to enable faster-than-single-log-rolling access to historical state tries

Acceptance Criteria

  • implement kikori flat db reader & writer strategy
  • implement checkpointed state tries solution
  • implement kikori worldstate and worldstate provider infrastructure to support kikori worldstate (supplying historical flat db based worldstates and optionally/lazily provided versioned state tries)
  • story for bonsai -> kikori migration

Additional Information (Add any of the following or anything else that may be relevant)

garyschulte avatar Sep 05 '23 19:09 garyschulte