Module cardano

Source
Expand description

Logic for orchestrating followers

Modulesยง

util ๐Ÿ”’
Block stream parsing and filtering utils

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::TIP to sync the tip continuously.