Interface used with historical sync'ing to start model sync on one or more models, or to shutdown the service providing the sync'ing
Readonly
Add a sync job to the queue.
Callback used when a block is received from the listener.
BlockProofsListenerEvent
Initialize the subscription for handling new blocks.
Optional
Create workers and initialize job queue used by sync.
Load models to sync from the DB.
Initialize the persisted sync state, creating the table in DB if needed.
Persists the sync state in DB.
Start sync over a block range for one or multiple models. Also keeps in sync with new anchors.
Stop models from being included in the continuous sync TODO (CDB-2303): Remove existing history sync jobs as well
Interface used with historical sync'ing to start model sync on one or more models, or to shutdown the service providing the sync'ing