add (salted) bloom filter liveset

This commit is contained in:
vyzo
2021-03-05 14:46:17 +02:00
parent aba6530411
commit 97abbe1eca
7 changed files with 107 additions and 18 deletions
+11 -2
View File
@@ -126,13 +126,22 @@ type Blockstore struct {
}
type Splitstore struct {
UseLMDBHotstore bool
UseLMDBTracking bool
HotStoreType string
TrackingStoreType string
LiveSetType string
EnableFullCompaction bool
EnableGC bool // EXPERIMENTAL
Archival bool
}
func (s *Splitstore) GetHotStoreType() string {
// default is badger
if s.HotStoreType == "" {
return "badger"
}
return s.HotStoreType
}
// // Full Node
type Metrics struct {