Expand description
Logic for orchestrating followers
Structsยง
- Sync
Params ๐ - Data we return from a sync task.
 - Sync
Task ๐ - The synchronisation task, and its state. There should ONLY ever be one of these at any time.
 
Constantsยง
- BACKOFF_
RANGE_ ๐MULTIPLIER  - The range we generate random backoffs within given a base backoff value.
 - INDEXING_
DB_ ๐READY_ WAIT_ INTERVAL  - How long we wait between checks for connection to the indexing DB to be ready.
 
Functionsยง
- start_
followers ๐ - Start followers as per defined in the config
 - start_
sync_ ๐for  - Start syncing a particular network
 - sync_
subchain ๐ - Sync a portion of the blockchain.
Set end to 
Point::TIPto sync the tip continuously. - update_
block_ ๐state  - Update block related state.