v2.3.0¶
v2.2.x upgraded to v2.3.0
- Compatible upgrade :Directly replace the binary of the v2.2.x node with the v2.3.0 binary , the upgraded version fixes bugs in v2.2.x, but will not enable the new features of v2.3.0, in normal scenarios, you can roll back to v2.2.x. For the rollback method, refer to the last section of this article.
- Full upgrade :Refer to Installation to build a new chain and resubmit all historical transactions to the new node. The upgraded node includes new features in v2.3.0
- v2.3.0 Release Note
Change description¶
New features
- Paillier encryption:Paillier encryption is supported on the chain. To enable this function, please refer to here
- Group Signature: v2.3.0 supports group signature verification and ring signature verification, provides group signature server and group signature client demo to realize the group signature generation, on-chain and on-chain verification.
- rPBFT: Based on the PBFT consensus algorithm, a new consensus algorithm rPBFT is implemented to minimize the impact of node size on the consensus algorithm, To configure rPBFT, please refer to Consensus Configuration and rPBFT Consensus Configuration
- KVTable:Provides key-based data reading and writing methods. Compared to Table contract CRUD interface, it is simpler and easier to use and maintain.
- Contract management: Provide contract life cycle management interface, including freeze, unfreeze, Contract Status Query and its related Authorization, Permission Query and other operations to facilitate the operation and maintenance personnel’s management of the on-chain contract
Update
- rpc.listen_ip split into channel_listen_ip and jsonrpc_listen_ip
- Provide contract write permission control interface, including contract write permission authorization、revoke和query
- Simplify parallel transaction configuration
- recommended to use MySQL directly connected storage mode instead of External storage mode
Fix
- Fix memory issues in specific compatibility scenarios
compatibility
Forward compatible, The old version can directly replace the program upgrade, but cannot launch the new features of this version. If you want to use the new features of this version, you need to relink.
Recommended version | Minimum version | Description | |
---|---|---|---|
console | 1.0.9 | 1.0.4 | |
SDK | 2.3.0 | 2.0.4 | |
generator | 1.3.0 | 1.1.0 | |
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.2.x method
After a node is upgraded from v2.2.x to v2.3.0 in compatibility mode, the rollback can be completed directly by replacing the node binary back to v2.2.x.