Skip to main content

Crate snarkos_node_sync_locators

Crate snarkos_node_sync_locators 

Source

Structs§

BlockLocators
Block locator maps.

Constants§

CHECKPOINT_INTERVAL
The interval between block checkpoints.
MAX_CHECKPOINTS
The maximum number of checkpoints a valid BlockLocators can ever contain: one checkpoint every CHECKPOINT_INTERVAL blocks, up to the largest height the wire format can express. pub so callers outside this crate - e.g. a message-size cap on whatever carries block locators - can size themselves against this bound instead of restating it.
NUM_RECENT_BLOCKS
The number of recent blocks (near tip).