Skip to content

Commit

Permalink
Update history.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vivian1912 committed Mar 27, 2024
1 parent b294f89 commit 58488e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/releases/history.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,11 @@ TIP: [https://github.com/tronprotocol/tips/blob/master/tip-635.md](https://githu
#### 2. 增加未固化区块数量检查功能
TRON网络的区块固化机制为:一个区块被70%的超级代表确认后,才能固化,即区块数据被写入到磁盘,数据不可以被更改。无法固化的区块,一直被保存在内存中,如果未固化的区块持续增多,则可能导致内存耗尽,节点退出运行。Bias 版本增加了未固化区块数量检查功能,当检测到节点的未固化区块数量达到阈值时,节点将停止广播交易,避免网络中存在过多无法固化的交易,这不但可以降低节点对内存的占用,而且还可以减少区块中交易数量,提高区块执行速度,有利于后期网络的快速恢复。

该功能默认为开启状态,并且阈值为1000,节点部署者也可以通过配置文件关闭该功能,或者配置阈值
该功能默认为关闭状态,节点部署者可以通过如下配置项开启该功能并配置阈值

```
node.unsolidifiedBlockCheck = true
node.maxUnsolidifiedBlocks = 1000
node.maxUnsolidifiedBlocks = 54
```


Expand Down

0 comments on commit 58488e4

Please sign in to comment.