Files
serai/coordinator
Luke Parker 47eb793ce9 Slash upon Tendermint evidence
Decoding slash evidence requires specifying the instantiated generic
`TendermintNetwork`. While irrelevant, that generic includes a type satisfying
`tributary::P2p`. It was only possible to route now that we've redone the P2P
API.
2025-01-09 06:58:00 -05:00
..
2025-01-09 06:58:00 -05:00

Coordinator

  • tendermint is an implementation of the Tendermint BFT algorithm.

  • tributary is a micro-blockchain framework. Instead of a producing a blockchain daemon like the Polkadot SDK or Cosmos SDK intend to, tributary is solely intended to be an embedded asynchronous task within an application.

    The Serai coordinator spawns a tributary for each validator set it's coordinating. This allows the participating validators to communicate in a byzantine-fault-tolerant manner (relying on Tendermint for consensus).

  • cosign contains a library to decide which Substrate blocks should be cosigned and to evaluate cosigns.

  • substrate contains a library to index the Substrate blockchain and handle its events.

  • src contains the source code for the Coordinator binary itself.