Module zebrad::components::sync

source ·
Expand description

The syncer downloads and verifies large numbers of blocks from peers to Zebra.

It is used when Zebra is a long way behind the current chain tip.

Modules§

  • downloads 🔒
    A download stream for Zebra’s block syncer.
  • End of support checking task.
  • gossip 🔒
    A task that gossips newly verified block::Hashes to peers.
  • progress 🔒
    Progress tracking for blockchain syncing.
  • A channel which holds a list of recent syncer response lengths.
  • status 🔒
    Syncer chain tip status, based on recent block locator responses from peers.

Structs§

  • CheckedTip 🔒
    Helps work around defects in the bitcoin protocol by checking whether the returned hashes actually extend a chain tip.
  • Sync configuration section.
  • A helper type which holds a list of recent syncer response lengths. These sync lengths can be used to work out if Zebra has reached the end of the chain.
  • A helper type to determine if the synchronizer has likely reached the chain tip.

Enums§

Constants§

Functions§