add docstrings for splitstore config
This commit is contained in:
parent
21e7c188da
commit
4cdb34e448
@ -278,11 +278,22 @@ type Chainstore struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type Splitstore struct {
|
type Splitstore struct {
|
||||||
|
// ColdStoreType specifies the type of the coldstore.
|
||||||
|
// It can be "universal" (default) or "discard" for discarding cold blocks.
|
||||||
ColdStoreType string
|
ColdStoreType string
|
||||||
|
// HotStoreType specifies the type of the hotstore.
|
||||||
|
// Only currently supported value is "badger".
|
||||||
HotStoreType string
|
HotStoreType string
|
||||||
|
// MarkSetType specifies the type of the markset.
|
||||||
|
// It can be "map" (default) for in memory marking or "badger" for on-disk marking.
|
||||||
MarkSetType string
|
MarkSetType string
|
||||||
|
|
||||||
|
// HotStoreMessageRetention specifies the retention policy for messages, in finalities beyond
|
||||||
|
// the compaction boundary; default is 0.
|
||||||
HotStoreMessageRetention uint64
|
HotStoreMessageRetention uint64
|
||||||
|
// HotStoreMovingGCFrequency specifies how often to perform moving GC on the hotstore.
|
||||||
|
// A value of 0 disables, while a value 1 will do moving GC in every compaction.
|
||||||
|
// Default is 20 (about once a week).
|
||||||
HotStoreMovingGCFrequency uint64
|
HotStoreMovingGCFrequency uint64
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user