开发状况:2018年7月16日-7月22日技术周报
上周,发布0.18.0最新测试版,已成功部署到æternity的测试网上。
该版本的重点是引入新的节点池策略。
这种新的节点池策略确保随着节点网络的增长,epoch节点可以与其他节点有效地连接,而不会被他们必须管理的连接数量所淹没。 该策略基于协议文档中描述的随机池(https://github.com/aeternity/protocol/blob/master/GOSSIP.md)。 因此,现在对入站和出站连接的最大数量有限制。 超出限制的入站连接是临时的,仅用于ping交换,然后关闭。
结果添加了新的配置参数:
(`sync` > max_inbound) : The maximum number of inbound connections after which inbound connections are temporary (only used for a single ping); Default: 100.
(`sync` > max_inbound_hard) : The maximum number of inbound connections; Default: 1000.
(`sync` > max_outbound) : The maximum number of outbound connections; Default: 10.
(`sync` > single_outbound_per_group) : If the extra outbound connections should be to nodes from different address groups (IP netmask /16); Default true.
删除了以下参数:
(`sync` > max_connections) : This configuration key has been renamed to (`sync` > max_inbound_hard) for consistency.
此外,该版本还引入了以下改进:
- 启用HTTP路径/合同/解码数据以解码来自Sophia合同调用的返回值。
- 记录类型定义的Sophia语法被修改为记录关键字(而不是类型)。
- 引入了一个新的配置参数 - 受益人,一种编码形式的帐户pubkey,它将从节点上的挖掘中获得奖励。 此参数将在用户提供的配置中设置,并且必须启动节点。
- 添加了一个新的字段 - beneficiary - 来阻止。 这会影响共识。
- 提高了mempool中事务的垃圾收集的稳定性。
- 添加了一个新的通道交易channel_snapshot_solo,用于单方面提供state_hash并循环到链上。
- 重构通道的收盘交易增加了收盘余额的清晰度。
按照Pivotal Tracker工具跟上æternity的开发团队进度:
https://www.pivotaltracker.com/n/projects/2124891