Skip to content

BOSCore v3.0.0-rc2 Release Note

Pre-release
Pre-release
Compare
Choose a tag to compare
@Thaipanda Thaipanda released this 12 May 04:18
· 327 commits to release/3.0.x since this release
d64e611

Change Description

This is a RELEASE CANDIDATE for version 3.0.0. The latest STABLE release is v2.0.3.

This is an pre-release for 3s LIB version. It can be used to test the stability and performance.

Change the consensus rule, and provided an upgrade solution

Consensus Changes

change from pipline bft to batch pbft, reduce irresistible time from 3 mins to 3 seconds

API Changes

set upgrade example

cleos push action eosio eosio setupgrade '{"up":{"target_block_num":1000}}' -p eosio

set view example

curl -d 100 --request POST --url http://127.0.0.1:8888/v1/producer/set_pbft_current_view

Fix

  • fix crash bug caused by an existing bug: fetch block by num 0 will cause crash when head num > 65535
  • fix incorrect pos align when doing fork db migration

Improvement

  • Support snapshot created by bos2.0.x before/after upgrade consensus protocol
  • Improved fork db migration algorithm
  • Use schedule in ucb when there is no stable checkpoint, this is added to bypass a bug when view change happens immediately after upgrade

Documentation Additions

Benchmark

Upgrade solution

Design Document (中文)

Design Document (English)

Test and Development