mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Instead of saving, for every sent message, if it was sent or not, we track the latest block/round participated in. These two keys are comprehensive to all prior block/rounds. We then use three keys for the latest round's proposal/prevote/precommit, enabling tracking current state as necessary to prevent equivocations with just 5 keys. The storage of the latest three messages also enables proper rebroadcasting of the current round (not implemented in this commit).
Tributary
A verifiable, ordered broadcast layer implemented as a BFT micro-blockchain.