-
Notifications
You must be signed in to change notification settings - Fork 255
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
efd78f4
commit 61e0294
Showing
19 changed files
with
181 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
# [v2.5.0](https://github.com/FISCO-BCOS/FISCO-BCOS/releases/tag/v2.5.0) | ||
|
||
```eval_rst | ||
.. admonition:: v2.4.x升级到v2.5.0 | ||
- **兼容升级** :直接替换v2.4.x节点的二进制为 `v2.5.0二进制 <https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v2.5.0/fisco-bcos.tar.gz>`_ ,升级后的版本修复v2.4.x中的bug,并进一步优化了性能。 | ||
- **全面升级** :参考 `安装 <../installation.html>`_ 搭建新链,重新向新节点提交所有历史交易,升级后节点包含v2.5.0所有新特性 | ||
- `v2.5.0 Release Note <https://github.com/FISCO-BCOS/FISCO-BCOS/releases/tag/v2.5.0>`_ | ||
``` | ||
|
||
## 变更描述 | ||
|
||
**新增** | ||
|
||
- 新增预编译合约,地址0x5,实现模指数运算 | ||
- 新增预编译合约,地址0x6,实现椭圆曲线alt_bn128的加法 | ||
- 新增预编译合约,地址0x7,实现椭圆曲线alt_bn128的乘法 | ||
- 新增预编译合约,地址0x8,实现椭圆曲线配对操作用于zkSNARK验证 | ||
- 新增预编译合约,地址0x9,实现blake2哈希函数 | ||
- [新增流控功能,实现可配置节点出带宽、最大QPS](../design/flow_control.md) | ||
- [新增ChainGovernance预编译合约,地址0x1008,实现基于角色的权限管理](../design/security_control/ChainGovernance.md) | ||
- [新增SDK连接节点支持国密SSL,可配置是否启用](../manual/configuration.html#id10) | ||
- [新增账号管理可冻结解冻私钥对应的账号](../design/features/account_management.md) | ||
|
||
**更改** | ||
|
||
- MySQL存储模式下,合约表的字段类型修改为mediumblob | ||
- [国密模式由编译选项修改为配置项](../manual/configuration.html#id10) | ||
- [更改节点只接受同一机构的SDK连接,可配置是否启用](../manual/configuration.html#p2p) | ||
- 默认开启Paillier同态加密和群签名功能 | ||
- build_chain脚本使用私钥为secp256k1的根证书和机构证书 | ||
- PBFTBackup的存储由LevelDB修改为RocksDB | ||
- 重构libdevcrypto模块,优化代码结构,使用TASSL实现国密和非国密TLS连接 | ||
- 优化存储模块openTable的锁实现 | ||
- 优化区块数据编码为并行 | ||
- 优化大对象析构耗时为异步 | ||
- 优化日志输出机制,降低日志输出对性能的影响 | ||
- 优化MHD和交易池模块的线程数,减少内存占用 | ||
- 优化MySQL存储适配器实现,优化ZdbStorage的代码实现 | ||
|
||
**修复** | ||
|
||
- 修复同一个区块内修改Entry,后续交易查询该Entry结果出错的问题 | ||
- 修复raft共识下,非leader节点交易池中的交易不能被打包的问题 | ||
- 修复CachedStorage的一个死锁问题 | ||
- 修复开启Binlog情况下,极端情况下,从Binlog恢复出错的问题 | ||
- 修复特定情况下节点重启后Viewchange被拒,无法快速恢复视图的问题 | ||
|
||
**兼容性** | ||
|
||
**向前兼容**,旧版本可以直接替换程序升级 | ||
|
||
| | 推荐版本 | 最低版本 | 说明 | | ||
| ---------- | ----------------------- | --------- | ---------------------- | | ||
| 控制台 | 1.0.10 | 1.0.4 | | | ||
| SDK | 2.5.0 | 2.0.4 | | | ||
| generator | 1.5.0 | 1.1.0 | 搭建新链需要使用该版本 | | ||
| 浏览器 | 2.0.2 | 2.0.0-rc2 | | | ||
| Solidity | 最高支持 solidity 0.5.2 | 0.4.11 | | | ||
| amdb-proxy | 2.3.0 | 2.0.2 | | | ||
|
||
**兼容模式回滚至v2.4.x方法** | ||
|
||
当节点采用兼容模式从v2.4.x升级至v2.5.0后,可直接通过将节点二进制替换回v2.4.x完成回滚。 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,8 @@ | |
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
node_management.md | ||
certificate_list.md | ||
chain_governance.md | ||
permission_control.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
# [v2.5.0](https://github.com/FISCO-BCOS/FISCO-BCOS/releases/tag/v2.5.0) | ||
|
||
```eval_rst | ||
.. admonition:: v2.4.x upgraded to v2.5.0 | ||
- **Compatible upgrade** :Directly replace the binary of the v2.4.x node with the `v2.5.0 binary <https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v2.5.0/fisco-bcos.tar.gz>`_ , the upgraded version fixes bugs in v2.4.x. | ||
- **Full upgrade** :Refer to `Installation <../ installation.html>`_ to build a new chain and resubmit all historical transactions to the new node. The upgraded node includes new features in v2.5.0 | ||
- `v2.4.0 Release Note <https://github.com/FISCO-BCOS/FISCO-BCOS/releases/tag/v2.5.0>`_ | ||
``` | ||
|
||
## Change description | ||
|
||
**Added** | ||
|
||
- Add precompiled contract, address 0x5, implement modular exponential calculation. | ||
- Add precompiled contract, address 0x6, implement point addition (ADD) of elliptic curve alt_bn128. | ||
- Add precompiled contract, address 0x7, implement the scalar multiplication (MUL) of elliptic curve alt_bn128. | ||
- Add precompiled contract, address 0x8, implement a pairing function on a specific pairing-friendly elliptic curve for zkSNARK verification. | ||
- Add precompiled contract, address 0x9, implement blake2 hash function. | ||
- [Add flow control to achieve configurable node output bandwidth and maximum QPS](../design/flow_control.md) | ||
- [Add ChainGovernance precompiled contract, address 0x1008, to implement role-based authority management](../design/security_control/ChainGovernance.md) | ||
- [Add SDK connection node supports OSCCA-approved SSL, can be configured whether to enable](../manual/configuration.html#id10) | ||
- [Add account management to freeze and unfreeze accounts](../design/features/account_management.md) | ||
|
||
**Changed** | ||
|
||
- In MySQL storage mode, the field type of the contract table is changed to mediumblob. | ||
- [The OSCCA-approved cryptography is modified from the compile option to the configuration item.](../manual/configuration.html#id10) | ||
- [Change the node to only accept the SDK connection of the same institution, can be configured whether to enable](../manual/configuration.html#p2p) | ||
- Paillier homomorphic encryption and group signature are enabled by default. | ||
- The build_chain script uses the private key as the root certificate and institution certificate of secp256k1. | ||
- The storage of PBFTBackup was changed from LevelDB to RocksDB. | ||
- Refactor the libdevcrypto module, optimize the code structure, and use TASSL to implement OSCCA-approved SSL and non-national TLS connections. | ||
- Optimize lock implementation of storage module openTable. | ||
- Optimize block data encoding to parallel. | ||
- Optimize the large object destructor to asynchronous. | ||
- Optimize log output mechanism to reduce the impact of log output on performance. | ||
- Optimize the number of threads of MHD and transaction pool modules to reduce memory usage. | ||
- Optimize MySQL storage adapter implementation, optimized ZdbStorage code implementation. | ||
|
||
**Fixed** | ||
|
||
- Fix an issue where the Entry was modified in the same block, and subsequent transactions query the Entry result error. | ||
- Fix the issue that transactions in non-leader node transaction pool cannot be packaged under Raft consensus. | ||
- Fix a deadlock issue with CachedStorage. | ||
- Fix the problem of recovering from Binlog when Binlog is turned on in some extreme cases. | ||
- Fix an issue that Viewchange was rejected after a node restart under certain circumstances the view could not be restored quickly. | ||
|
||
**Compatibility** | ||
|
||
The old version can directly replace the program upgrade | ||
|
||
|
||
| | Recommended version | Minimum version | Description | | ||
| ------------------ | ------------------- | --------------- | ------------------------------------------------------------ | | ||
| console | 1.0.10 | 1.0.4 | | | ||
| SDK | 2.5.0 | 2.0.4 | | | ||
| generator | 1.5.0 | 1.2.0 | To use latest generator, please clone from master branch of generator repo. | | ||
| FISCO BCOS browser | 2.0.2 | 2.0.0-rc2 | | | ||
| Solidity | up to 0.5.2 | 0.4.11 | | | ||
| amdb-proxy | 2.3.0 | 2.0.2 | | | ||
|
||
**Compatibility mode rollback to v2.4.x method** | ||
|
||
After a node is upgraded from v2.4.x to v2.5.0 in compatibility mode, the rollback can be completed directly by replacing the node binary back to v2.4.x. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.