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.
This:
* Re-organizes the docs into sections that align with what docs.filecoin.io becoming:
* An installation section
* A "getting started" section (lotus client focused)
* A "storing" section (lotus client focused)
* A "mining" section (miner focused)
* A "build" section (developer focused)
* An legacy "architecture" section is left in the last place.
A few high-value documentation pages have been reviewed and updated with the latest recommendations:
* Installation section and lotus setup
* Miner setup
* etc.
...
Other pages have been correctly merged into the new relevant sections. Some pages have not been touched. The filesystem layout of the documentation has been changed into folders corresponding to the sections (as requested by @cw). Some pages that were not linked at all and/or where hidden, have been moved to "unclassified".
This should make the porting of the Lotus documentation to docs.filecoin.io much easier, while ensuring it is more up to date than it was before.
For the moment, this breaks most links as link-aliasing is not supported in lotus-docs.