Release v0.3.1
Pre-release
Pre-release
Main feature and update
- Epoch and Uncle Block mechanism are introduced, the difficulty of PoW can be dynamically adjusted according to the Uncle Block rate.
- The
Package
transaction type is introduced, which supports batch deployment of multiple Modules with initialization scripts. - Stabilization of Token module and issuance mechanism, the value of Token is changed from u64 to u128, which can support larger total amount and higher accuracy.
- Implementation of Transaction fee distribution contracts.
- Stdlib added SortedLinkedList, Math, BitOperators modules.
- The BlockReword contract was refactored to accommodate Epoch and Uncle Block mechanisms.
- Module upgrade mechanism is provided, and developers can customize the strategy of contract upgrade. Module upgrade compatibility check is implemented to ensure compatibility with the old version when upgrading.
- Refactor Genesis to implement Genesis transaction via Package transaction. Simplify Genesis Account, retaining only 0x1 Genesis account.
- Introduced the network rpc framework to simplify the implementation of the rpc interface on p2p networks.
- Introduce Move's coverage tool to count stdlib's test coverage.
- Simplify Node configuration and unify command line parameter format.
中文说明
- 引入 Epoch 以及叔块机制,PoW 出块难度可以根据叔块率来动态调整。
- 引入
Package
交易类型,支持批量部署多个 Module 以及附带初始化脚本。 - Token 模块以及发行机制的稳定化,Token 的值从 u64 改为 u128,可以支持更大的总量以及更高的精度。
- 实现了 Transaction fee 的分发合约。
- Stdlib 增加了 SortedLinkedList,Math,BitOperators 模块。
- 重构了 BlockReword 合约,以适应 Epoch 以及叔块机制。
- 提供了 Module 升级机制,开发者可以自定义合约升级的策略。实现了升级 Module 的兼容性检查,保证升级时和旧的版本兼容。
- 重构 Genesis,通过 Package 交易实现 Genesis 交易。简化 Genesis Account,只保留 0x1 一个 Genesis account。
- 引入 network rpc 框架,简化 p2p 网络上的 rpc 接口实现。
- 引入 Move 的覆盖率工具,统计 stdlib 的测试覆盖率。
- 简化 Node 配置以及统一命令行参数格式。
Main dependency bump
- move-vm bump to 821ac69a5e3ff3e323601c355d8de42f957d9c26 (July 14) .
- libp2p bump to 0.22.
- rust tool chain bump to 1.44.1.
For a full rundown of the changes please consult the Starcoin 0.3 release milestone