Skip to main content

Crate cuprate_fast_sync

Crate cuprate_fast_sync 

Source

Constants§

FAST_SYNC_BATCH_LEN
The size of a batch of block hashes to hash to create a fast sync hash.

Functions§

block_to_verified_block_information
Creates a [VerifiedBlockInformation] from a block known to be valid.
fast_sync_stop_height
Returns the height of the first block not included in the given hashes.
validate_entries
Validates that the given [ChainEntry]s are in the fast-sync hashes.