node::SnapshotMetadata::SnapshotMetadata

Constructors

Synopses

Declared in <node/utxo_snapshot.h>

Construct empty snapshot metadata bound to a network.

SnapshotMetadata(MessageStartChars const network_magic);
» more...

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

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

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.