Expand description
Syncer task for maintaining a non-finalized state in Zebra’s ReadStateService and updating ChainTipSender
via RPCs
Structs§
- Trusted
Chain 🔒Sync - 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
getbestblockheightandhash
when it:
Traits§
Functions§
- init_
read_ state_ with_ syncer - Accepts a zebra-state configuration, a
Network
, and theSocketAddr
of a Zebra node’s RPC server.