serai-dex / serai

Other
266 stars 49 forks source link

Rewrite tendermint's message handling loop to much more clearly match the paper #560

Closed kayabaNerve closed 7 months ago

kayabaNerve commented 7 months ago

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".