为了进一步提升PlatON网络的稳定性、健壮性,更好的适应不同的网络环境和操作场景,PlatON针对所有网络连接、同步、共识等环节进行了优化,并发布至1.4.2版本。
PlatON 1.4.2 版本更新具体内容包括:
-
优化BlockFetcher基于UncleDist距离的鉴定值可能导致的重复fetch的问题;
-
优化当节点停止追块后,其他节点来请求同步时可能出现的无法同步区块问题;
-
优化重启wal恢复区块,可能同步缺失签名的block给对方,导致验证失败断开连接问题;
-
优化发起同步时,本端块高和对端块高取值取内存最高块;
-
优化区块兼容以太坊时,UncleHash对nil进行hash计算;
-
优化启动链时如果数据不一致试图修复链可能导致的数据异常(共识机制决定区块不能回退);
-
优化downloader和cbft一起写块时,已知错误(如区块重复)导致抛的err到downloader可能造成的误判问题;
-
优化cbft判断区块是否存在的逻辑中,可能没有使用blockchain返回的结果产生的问题;
-
优化特殊块更新验证人列表后断开节点可能出现事件订阅通道等待问题;
-
优化节点最大连接数没起作用导致连接数过少问题。
此次小版本作为网络稳定性的增强版补充,保障PlatON网络不同场景需求。PlatON 将继续致力于打造一个高效、安全、可扩展的开放隐私金融基础设施,为全球用户提供更好的Web3服务。
升级手册详见:PlatON主网节点升级操作指南-v1.4.2
To further improve the stability and robustness of the PlatON Network, and better adapt to different network environments and operation scenarios, PlatON has optimized all aspects of network connection, synchronization, consensus, etc., and released version 1.4.2.
The specific contents of PlatON 1.4.2 version update include:
-
Optimized the problem of repeated fetch caused by the identification value based on UncleDist distance in BlockFetcher;
-
Optimized the problem of unable to synchronize blocks when other nodes request synchronization after the node stops chasing blocks;
-
Optimized the problem of restarting wal to recover blocks, which may synchronize blocks with missing signatures to the other party, resulting in verification failure and disconnection;
-
Optimized the value of local block height and peer block height when initiating synchronization, taking the highest block in memory;
-
Optimized the hash calculation of UncleHash for nil when the block is compatible with Ethereum;
-
Optimized the data anomaly that may be caused by trying to repair the chain when starting the chain if the data is inconsistent (the consensus mechanism determines that the block cannot be rolled back);
-
Optimized the misjudgment problem that may be caused by throwing err to downloader due to known errors (such as block duplication) when downloader and cbft write blocks together;
-
Optimized the problem that may be caused by not using the result returned by blockchain in cbft’s logic of judging whether a block exists;
-
Optimized the problem of event subscription channel waiting that may occur after disconnecting nodes after updating validator list with special blocks;
-
Optimized the problem that the maximum number of connections of nodes did not work, resulting in too few connections.
This minor version is a supplement to enhance the network stability and meet the needs of different scenarios of PlatON Network. PlatON will continue to strive to build an efficient, secure, and scalable open privacy financial infrastructure, and provide better Web3 services for global users.
For upgrade manual, please see:PlatON Mainnet Node Upgrade Guide - v1.4.2