mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-10 13:09:24 +00:00
Moves UpdateSharedValidatorsTask to validators.rs. While prior planned to re-use a validators object across connecting and peer state management, the current plan is to use an independent validators object for each to minimize any contention. They should be built infrequently enough, and cheap enough to update in the majority case (due to quickly checking if an update is needed), that this is fine.
Coordinator
-
tendermintis an implementation of the Tendermint BFT algorithm. -
tributaryis a micro-blockchain framework. Instead of a producing a blockchain daemon like the Polkadot SDK or Cosmos SDK intend to,tributaryis 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).
-
cosigncontains a library to decide which Substrate blocks should be cosigned and to evaluate cosigns. -
substratecontains a library to index the Substrate blockchain and handle its events. -
srccontains the source code for the Coordinator binary itself.