7 Unstar Star 53 Fork 0

FISCO-BCOS / FISCO-BCOS

v2.3.0-hotfix-1
add getBlockTransactionReceipts zip tar.gz
2020-08-24 09:12
bxq

Please read the FISCO BCOS documentation.

Added

  • Added support for Kylin operating system V10 (Kunpeng-920/ARM aarch64)
  • Added support for Solidity 0.6
  • Added time alignment mechanism between nodes
  • Added support for IPv6
  • Added group SDK whitelist mechanism, which is disabled by default
  • Added getBlockHeaderByNumber/getBlockHeaderByHash to get block header
  • Added support for configuring block execution timeout time

Changed

  • The rPBFT consensus algorithm introduces the VRF random number algorithm to further ensure the security of the consensus algorithm
  • The evm engine aleth-interpreter is replaced by evmone
  • Upgrade the EVMC interface version to 7.3.0
  • Source code compilation requires GCC version not less than 5.4.0
  • Support AMOP message routing to the node itself
  • In MySQL storage mode, block and other data use binary format and enable compression

Fixed

  • Fixed a minor memory leak caused by the transaction broadcast tag cache not being cleaned up
  • Fixed the issue that transactions in the transaction pool of non-leader nodes cannot be packaged under the raft consensus
  • In MySQL storage mode, when the select interface of TablePrecompiled is called in the Solidity contract writing interface, the occasional gas calculation inconsistency problem occurs
  • The wrong certificate generated by the user causes coredump problems
  • Using assembly in Solidity to call the Ethereum precompiled contract 0x1-0x9, return success(value:0) for wrong input

Compatibility

The old version can directly replace the program upgrade

Recommended version Minimum version Description
console 1.1.0 1.0.4
SDK 2.6.0 2.0.4
generator 1.6.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.6.10 0.4.11

请阅读FISCO BCOS文档

新增

  • 新增对Solidity 0.6的支持
  • 新增对国产麒麟操作系统V10(Kunpeng-920/ARM aarch64)的支持
  • 新增节点间时间对齐机制
  • 新增对IPv6的支持
  • 新增群组SDK白名单机制,默认关闭
  • 新增获取区块头的接口getBlockHeaderByNumber/getBlockHeaderByHash
  • 新增支持配置区块执行超时时间

更改

  • rPBFT共识算法引入VRF随机数算法,进一步保证共识算法的安全性
  • evm引擎由aleth-interpreter替换为evmone
  • 升级EVMC接口版本为7.3.0
  • 源码编译要求GCC版本不小于5.4.0
  • 支持AMOP消息路由到节点自身
  • MySQL存储模式下区块等数据使用二进制存储并使用压缩

修复

  • 标记交易是否被广播过以及被广播到哪些节点的缓存没有清理干净,导致的轻微内存泄露的问题
  • 修复raft共识下,非leader节点交易池中的交易不能被打包的问题
  • 在MySQL存储模式下,Solidity合约写接口中调用Table的select接口时,偶现的Gas计算不一致问题
  • 用户自己生成的错误证书导致coredump问题
  • 在Solidity中使用汇编调用以太坊预编译合约0x1-0x9,对错误输入没有返回0的问题

兼容性

向前兼容,旧版本可以直接替换程序升级

推荐版本 最低版本 说明
控制台 1.1.0 1.0.4
SDK 2.6.0 2.0.4
generator 1.6.0 1.1.0 搭建新链需要使用该版本
浏览器 2.0.2 2.0.0-rc2
Solidity 最高支持 solidity 0.6.10 0.4.11

更多,请参考版本与兼容性描述




Last committed message: update build_chain.sh (#1743)
Preview version
2020-06-22 17:02
bxq

Please read the FISCO BCOS documentation.

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.
  • Add ChainGovernance precompiled contract, address 0x1008, to implement role-based authority management.
  • Add SDK connection node supports OSCCA-approved SSL, can be configured whether to enable.
  • Add account management to freeze and unfreeze accounts.

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.
  • Change the node to only accept the SDK connection of the same institution, can be configured whether to enable.
  • 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 the 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 the 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

请阅读FISCO BCOS文档

新增

  • 新增预编译合约,地址0x5,实现模指数运算
  • 新增预编译合约,地址0x6,实现椭圆曲线alt_bn128的加法
  • 新增预编译合约,地址0x7,实现椭圆曲线alt_bn128的乘法
  • 新增预编译合约,地址0x8,实现椭圆曲线配对操作用于zkSNARK验证
  • 新增预编译合约,地址0x9,实现blake2哈希函数
  • 新增流控功能,实现可配置节点出带宽、最大QPS
  • 新增ChainGovernance预编译合约,地址0x1008,实现基于角色的权限管理
  • 新增SDK连接节点支持国密SSL,可配置是否启用
  • 新增账号管理可冻结解冻私钥对应的账号

更改

  • MySQL存储模式下,合约表的字段类型修改为mediumblob
  • 国密模式由编译选项修改为配置项
  • 更改节点只接受同一机构的SDK连接,可配置是否启用
  • 默认开启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

更多,请参考版本与兼容性描述

2020-06-02 11:24
v2.4.1
Merge pull request #1605 from FISCO-B... zip tar.gz
2020-04-30 10:56
v2.4.0
update ChangeLog (#1542) zip tar.gz
2020-03-30 13:35
v2.3.0
Before calling the module specified b... zip tar.gz
2019-12-26 11:06
v2.2.0
Merge pull request #1284 from chayche... zip tar.gz
2019-09-23 20:19
v2.1.0
fix the bug that tx_count_limit has d... zip tar.gz
2019-09-02 21:47
v2.0.1
update ChangeLog.md (#1000) zip tar.gz
2019-07-05 18:10
v2.0.0
fix select null, because columnValue zip tar.gz
2019-06-13 22:42
v2.0.0-rc3
fix compile demo failed zip tar.gz
2019-04-12 11:26
v1.3.8
Merge pull request #662 from FISCO-BC... zip tar.gz
2019-01-25 10:06
v1.3.7
Merge pull request #486 from FISCO-BC... zip tar.gz
2018-12-19 11:15
V1.3.6
Update README.md zip tar.gz
2018-12-19 11:15
v1.3.6
Update README.md zip tar.gz
2018-12-06 17:06
v1.3.5
Merge pull request #331 from FISCO-BC... zip tar.gz
v1.5.0-pre-release
Merge pull request #278 from bxq2011h... zip tar.gz
2018-09-19 12:07
v1.3.4
Merge pull request #222 from FISCO-BC... zip tar.gz
C++
1
https://gitee.com/FISCO-BCOS/FISCO-BCOS.git
git@gitee.com:FISCO-BCOS/FISCO-BCOS.git
FISCO-BCOS
FISCO-BCOS
FISCO-BCOS

Search

132457 8cb2edc1 1899542 131848 70c8d3a4 1899542