浏览代码

TriesInMemory = 128

龚成明 2 年之前
父节点
当前提交
1cf496807c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/blockchain.go

+ 1 - 1
core/blockchain.go

@@ -91,7 +91,7 @@ const (
 	txLookupCacheLimit  = 1024
 	maxFutureBlocks     = 256
 	maxTimeFutureBlocks = 30
-	TriesInMemory       = 12800
+	TriesInMemory       = 128
 
 	// BlockChainVersion ensures that an incompatible database forces a resync from scratch.
 	//