lotus/chain/store
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
..
basefee_test.go fix base fee tests for different smoke heights 2020-10-06 13:12:16 -07:00
basefee.go only enable gas tampering if the breeze upgrade is enabled 2020-10-06 13:00:06 -07:00
coalescer_test.go improve coalescing 2020-11-09 13:35:42 +02:00
coalescer.go refactor coalescing logic into its own function, take both cancellation sets into account 2021-02-02 21:26:50 +02:00
fts.go some initial godocs. (#2118) 2020-06-23 18:51:25 -03:00
index_test.go rename blockstores for consistency. 2021-01-29 23:17:25 +00:00
index.go Update to specs v0.9.6 2020-09-07 15:48:41 -04:00
store_test.go segregate chain and state blockstores. 2021-02-28 22:49:44 +00:00
store.go segregate chain and state blockstores. 2021-02-28 22:49:44 +00:00
weight.go segregate chain and state blockstores. 2021-02-28 22:49:44 +00:00