Metadata describing a serialized UTXO snapshot file.

Synopsis

Declared in <node/utxo_snapshot.h>

class SnapshotMetadata;

Member Functions

Name

Description

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

Name

Description

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.

Created with MrDocs