Commit 9a927074 authored by liuyuhang's avatar liuyuhang

add prune kvmvcc

parents 87924855 e5a109f0
......@@ -12,11 +12,12 @@
package main
import (
"net/http"
"runtime/debug"
_ "github.com/33cn/chain33/system"
"github.com/33cn/chain33/util/cli"
_ "github.com/33cn/plugin/plugin"
"net/http"
"runtime/debug"
)
func main() {
......
......@@ -63,9 +63,9 @@ type KVmMavlStore struct {
}
type subKVMVCCConfig struct {
EnableMVCCIter bool `json:"enableMVCCIter"`
EnableMavlPrune bool `json:"enableMavlPrune"`
PruneHeight int32 `json:"pruneHeight"`
EnableMVCCIter bool `json:"enableMVCCIter"`
EnableMavlPrune bool `json:"enableMavlPrune"`
PruneHeight int32 `json:"pruneHeight"`
}
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