README: add instructions for how to enable

This commit is contained in:
vyzo 2021-07-08 13:00:31 +03:00
parent 9aa4f3b3b2
commit 5cf1e09e81

View File

@ -14,6 +14,18 @@ can be a noop store, whereby out of scope objects are discarded or a
regular badger blockstore (the default), which can be periodically regular badger blockstore (the default), which can be periodically
garbage collected according to configurable user retention policies. garbage collected according to configurable user retention policies.
To enable the splitstore, edit `.lotus/config.toml` and add the following:
```
[Chainstore]
EnableSplitstore = true
```
If you want to use the noop coldstore, also add the following:
```
[Chainstore.Splitstore]
ColdStoreType = "noop"
```
## Operation ## Operation
When the splitstore is first enabled, the existing blockstore becomes When the splitstore is first enabled, the existing blockstore becomes