Prior to being able to recommend Bonsai and/or snap sync for permissioned chains , it is important to have some data to indicate stability of that configuration. This page is intended to describe a consistent setup to run QBFT & Bonsai tests against.work is needed to make the combination of QBFT, Bonsai, and snap-sync work reliably.
Summary of PRs related to this work:
- https://github.com/hyperledger/besu/pull/7204 (merged to main) - prevents persisting of proposed blocks to ensure only committed blocks are persisted to world state
- https://github.com/hyperledger/besu/pull/7140 (WIP) - adds an experimental flag to enable QBFT + snap sync. Quits snap-sync early when a new chain scenario is detected.
Issues seen before now when Bonsai and/or snap-sync is used Issues hit so far that are blocking Bonsai use with QBFT:
For those working on this feature, the setup below can be used to create 4-validator QBFT chain for testing
4-node QBFT chain trying Bonsai (full sync mode) with caliper at 200TPS:
Configuration of boot node:
...