mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-09 04:39: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).
6.7 KiB
6.7 KiB