besu
besu copied to clipboard
Implement Bonsai archive storage format
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