snarkVM icon indicating copy to clipboard operation
snarkVM copied to clipboard

Introduce `BFTStore` and `TransmissionStore`

Open raychu86 opened this issue 2 years ago • 0 comments

Motivation

This PR implements a TransmissionStore to store a list of transmissions based on the current round. This will help replace the in-memory tracking of the transmissions, which could lead to BFT issues when nodes reboot. These transmissions can be GC'd later to reduce state bloat.

Note: This will break current the database structure, and we may need to move the MapID ordering for the TransmissionMap enum.

TODO:

  • [ ] Add the Transmission store to the Ledger or ConsensusStore

raychu86 avatar Oct 24 '23 20:10 raychu86