Expand description
Logic for orchestrating followers
Modulesยง
- event ๐
- Event types for Chain Indexer.
Structsยง
- SyncParams ๐
- Data we return from a sync task.
- SyncTask ๐
- 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.