mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 20:29:23 +00:00
Redo coordinator's Substrate scanner
This commit is contained in:
14
coordinator/substrate/README.md
Normal file
14
coordinator/substrate/README.md
Normal file
@@ -0,0 +1,14 @@
|
||||
# Serai Coordinate Substrate Scanner
|
||||
|
||||
This is the scanner of the Serai blockchain for the purposes of Serai's coordinator.
|
||||
|
||||
Two event streams are defined:
|
||||
|
||||
- Canonical events, which must be handled by every validator, regardless of the sets they're present
|
||||
in. These are represented by `serai_processor_messages::substrate::CoordinatorMessage`.
|
||||
- Ephemeral events, which only need to be handled by the validators present within the sets they
|
||||
relate to. These are represented by two channels, `NewSet` and `SignSlashReport`.
|
||||
|
||||
The canonical event stream is available without provision of a validator's public key. The ephemeral
|
||||
event stream requires provision of a validator's public key. Both are ordered within themselves, yet
|
||||
there are no ordering guarantees across the two.
|
||||
Reference in New Issue
Block a user