serai/coordinator
Luke Parker 523d2ac911
Rewrite tendermint's message handling loop to much more clearly match the paper (#560)
* Rewrite tendermint's message handling loop to much more clearly match the paper

No longer checks relevant branches upon messages, yet all branches upon any
state change. This is slower, yet easier to review and likely without one or
two rare edge cases.

When reviewing, please see page 5 of https://arxiv.org/pdf/1807.04938.pdf.
Lines from the specified algorithm can be found in the code by searching for
"// L".

* Sane rebroadcasting of consensus messages

Instead of broadcasting the last n messages on the Tributary side of things, we
now have the machine rebroadcast the message tape for the current block.

* Only rebroadcast messages which didn't error in some way

* Only rebroadcast our own messages for tendermint
2024-04-21 05:30:31 -04:00
..
src Extend time in sync test 2024-04-18 02:51:38 -04:00
tributary Rewrite tendermint's message handling loop to much more clearly match the paper (#560) 2024-04-21 05:30:31 -04:00
Cargo.toml PR to track down CI failures (#501) 2024-01-04 01:08:13 -05:00
LICENSE Add empty coordinator 2023-04-11 09:21:35 -04:00
README.md Add empty coordinator 2023-04-11 09:21:35 -04:00

Coordinator

The Serai coordinator communicates with other coordinators to prepare batches for Serai and sign transactions.

In order to achieve consensus over gossip, and order certain events, a micro-blockchain is instantiated.