lotus/cmd/lotus-bench
Raúl Kripalani 3795cc2bd2 segregate chain and state blockstores.
This paves the way for better object lifetime management.

Concretely, it makes it possible to:
- have different stores backing chain and state data.
- having the same datastore library, but using different parameters.
- attach different caching layers/policies to each class of data, e.g.
  sizing caches differently.
- specifying different retention policies for chain and state data.

This separation is important because:
- access patterns/frequency of chain and state data are different.
- state is derivable from chain, so one could never expunge the chain
  store, and only retain state objects reachable from the last finality
  in the state store.
2021-02-28 22:49:44 +00:00
..
caching_verifier.go
import.go segregate chain and state blockstores. 2021-02-28 22:49:44 +00:00
main.go Merge pull request #4950 from zgfzgf/feat-bench-policy 2021-01-30 12:34:40 +01:00
stats_test.go