Chain33 Important Update

Fuzamei
2 min readAug 31, 2021

Libp2p

1. Reduced the number of streams and improved the performance of broadcasting.

2. Fixed libp2p stream leak bug.

3. Fixed the bug of getting connected node information.

4. P2P adds the function to configure the whitelist.

Sharding

1. Fixed the bug of sharing data, and the data is not deleted due to the wrong key.

2. Fixed the cache unlocking bug caused by the sharding index.

3. Sharding data is downloaded first that makes the block depend on synchronously.

4. The node selects the sharding data that needs to be saved according to the node sorting of the partial routing table, instead of relying on local network communication, which reduces network overhead and data fluctuations caused by communication failures.

Sign

1. Provided support for multiple signatures.

2. Provided the function of signature programming, in some scenarios, it is more advantageous than the contract.

Blockchain

1. Realized a function of delaying transaction execution. The transaction is cached on the chain and then executes after a fixed period of time.

2. Added the function of sending transactions synchronously, after the transaction is on the chain, it returns successfully.

3. The bottom architecture codes are upgraded to protocol buffer 1.4.3 version, and the execution performance is greatly improved.

4. Optimized the transaction duplicate checking function, which takes up less memory and is faster.

Development Plan

1. Achieved modules with privacy calculations on the chain, including federated calculations, and using zero-knowledge proof to protect asset privacy.

2. Realized the cross-chain protocol similar to Cosmos, and planning to support multiple bottom architectures, such as Ethereum, Chain33, Hyperchain, Fabric, Fisco, etc. In the future, cross-chain based on the zero-knowledge proof will be further supported.

3. Supported proof of space algorithm. Proof of space is an evolutionary version of the consensus algorithm of POW, which realizes mining with idle hard disks. Proof of space allows some users to provide a large amount of stable storage space so that the system can achieve greater throughput. In addition, it is possible to realize bandwidth certification by providing high-speed transmission to contribute network and realize returns.

4. Improved the performance of database storage by more than 30%. By optimizing the code of Leveldb, the system is optimized for typical blockchain scenarios.

5. Allowed users to mark the expiration time of the state on the chain, so that after the state expires, it can be deleted, which can reduce the amount of state.

Website: 33.cn

Twitter: @FuzameiLtd

Github: https://github.com/33cn/chain33

E-mail Contact: 33fuzamei@gmail.com

WeChat Official Account: 复杂美(mandarin)

--

--

Fuzamei

The world-leading blockchain solution company. Twitter: @FuzameiLtd