node::SnapshotMetadata

Metadata describing a serialized UTXO snapshot file.

Synopsis

Declared in <node/utxo_snapshot.h>

class SnapshotMetadata;

Member Functions

NameDescription
SnapshotMetadata [constructor]Constructors
Serialize Serialize the snapshot metadata header to a stream.
Unserialize Unserialize and validate the snapshot metadata header from a stream.

Data Members

NameDescription
m_base_blockhash The hash of the block that reflects the tip of the chain for the UTXO set contained in this snapshot.
m_coins_count The number of coins in the UTXO set contained in this snapshot. Used during snapshot load to estimate progress of UTXO set reconstruction.