Module sync

Source
Expand description

Syncer task for maintaining a non-finalized state in Zebra’s ReadStateService and updating ChainTipSender via RPCs

Structs§

TrustedChainSync
Syncs non-finalized blocks in the best chain from a trusted Zebra node’s RPC methods.

Constants§

POLL_DELAY 🔒
How long to wait between calls to subscribe_to_non_finalized_state_change when it returns an error.

Functions§

init_read_state_with_syncer
Accepts a zebra-state configuration, a Network, and the SocketAddr of a Zebra node’s RPC server.