node::SnapshotMetadata::SnapshotMetadata

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

NameDescription
network_magicThe network magic bytes the snapshot must match.
base_blockhashHash of the block at the tip of the snapshot's UTXO set.
coins_countNumber of coins in the snapshot's UTXO set.