Commit 9a927074 authored by liuyuhang's avatar liuyuhang

add prune kvmvcc

parents 87924855 e5a109f0
...@@ -12,11 +12,12 @@ ...@@ -12,11 +12,12 @@
package main package main
import ( import (
"net/http"
"runtime/debug"
_ "github.com/33cn/chain33/system" _ "github.com/33cn/chain33/system"
"github.com/33cn/chain33/util/cli" "github.com/33cn/chain33/util/cli"
_ "github.com/33cn/plugin/plugin" _ "github.com/33cn/plugin/plugin"
"net/http"
"runtime/debug"
) )
func main() { func main() {
......
...@@ -63,9 +63,9 @@ type KVmMavlStore struct { ...@@ -63,9 +63,9 @@ type KVmMavlStore struct {
} }
type subKVMVCCConfig struct { type subKVMVCCConfig struct {
EnableMVCCIter bool `json:"enableMVCCIter"` EnableMVCCIter bool `json:"enableMVCCIter"`
EnableMavlPrune bool `json:"enableMavlPrune"` EnableMavlPrune bool `json:"enableMavlPrune"`
PruneHeight int32 `json:"pruneHeight"` PruneHeight int32 `json:"pruneHeight"`
} }
type subMavlConfig struct { type subMavlConfig struct {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment