Module downloads

Source
Expand description

A download stream for Zebra’s block syncer.

Structs§

AlwaysHedge 🔒
Downloads
Represents a [Stream] of download and verification tasks during chain sync.

Enums§

BlockDownloadVerifyError
Errors that can occur while downloading and verifying a block.

Constants§

VERIFICATION_PIPELINE_DROP_LIMIT
The maximum height difference between Zebra’s state tip and a downloaded block. Blocks higher than this will get dropped and return an error.
VERIFICATION_PIPELINE_SCALING_MULTIPLIER
A multiplier used to calculate the extra number of blocks we allow in the verifier, state, and block commit pipelines, on top of the lookahead limit.

Type Aliases§

BoxError 🔒