README: add instructions for how to enable
This commit is contained in:
parent
9aa4f3b3b2
commit
5cf1e09e81
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user