Construct snapshot metadata with a known base block and coin count.

Synopsis

Declared in <node/utxo_snapshot.h>

SnapshotMetadata(
    MessageStartChars const network_magic,
    uint256 const& base_blockhash,
    uint64_t coins_count);

Parameters

Name

Description

network_magic

The network magic bytes the snapshot must match.

base_blockhash

Hash of the block at the tip of the snapshot's UTXO set.

coins_count

Number of coins in the snapshot's UTXO set.

Created with MrDocs