add configuration for splitstore and default to a simple compaction algorithm

This commit is contained in:
vyzo
2021-03-05 14:46:17 +02:00
parent 2e4d45ef07
commit 73259aa350
4 changed files with 157 additions and 26 deletions
+10 -3
View File
@@ -121,9 +121,16 @@ type Pubsub struct {
}
type Blockstore struct {
Splitstore bool
UseLMDBHotstore bool
UseLMDBTracking bool
EnableSplitstore bool
Splitstore Splitstore
}
type Splitstore struct {
UseLMDBHotstore bool
UseLMDBTracking bool
EnableFullCompaction bool
EnableGC bool // EXPERIMENTAL
Archival bool
}
// // Full Node