Expand description
Logic for orchestrating followers
Modulesยง
- util ๐Block stream parsing and filtering utils
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ยง
- The range we generate random backoffs within given a base backoff value.
- How long we wait between checks for connection to the indexing DB to be ready.
- MAX_
BLOCKS_ ๐BATCH_ LEN Blocks batch length that will trigger the blocks buffer to be written to the database.
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 toTIP_POINT
to sync the tip continuously.