We DaiLambda are working on improving Tezos blockchain storage layer called context. The context stores versions of blockchain states including balance and smart contracts.
Objective
We want to benchmark Tezos context reconstruction of the recent blocks, say 10000.
- Only recent blocks, not from the genesis.
- Blocks must be preloaded to exclude the network costs.
Currently we have 2 ways to replay blocks: reconstruct and replay.
tezos-node reconstruct
commits to the context, but is always from the genesis
tezos-node reconstruct
reconstructs the contexts from the genesis. It takes too long time for benchmark, several days or a week. We also do not want to benchmark the context reconstruction of the old cemented blocks, since a running node does not build contexts only from floating blocks.