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 embedded hashes.
set_fast_sync_hashes
Sets the hashes to use for fast-sync.
validate_entries
Validates that the given ChainEntrys are in the fast-sync hashes.