[#node-SnapshotMetadata]
= xref:node.adoc[node]::SnapshotMetadata
:relfileprefix: ../
:mrdocs:

Metadata describing a serialized UTXO snapshot file&period;

== Synopsis

Declared in `&lt;node&sol;utxo&lowbar;snapshot&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class SnapshotMetadata;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:node/SnapshotMetadata/2constructor-0c.adoc[`SnapshotMetadata`]         [.small]#[constructor]#
| Constructors
| xref:node/SnapshotMetadata/Serialize.adoc[`Serialize`] 
| Serialize the snapshot metadata header to a stream&period;
| xref:node/SnapshotMetadata/Unserialize.adoc[`Unserialize`] 
| Unserialize and validate the snapshot metadata header from a stream&period;
|===


== Data Members

[cols="1,4"]
|===
| Name| Description
| xref:node/SnapshotMetadata/m_base_blockhash.adoc[`m&lowbar;base&lowbar;blockhash`] 
| The hash of the block that reflects the tip of the chain for the UTXO set contained in this snapshot&period;
| xref:node/SnapshotMetadata/m_coins_count.adoc[`m&lowbar;coins&lowbar;count`] 
| The number of coins in the UTXO set contained in this snapshot&period; Used during snapshot load to estimate progress of UTXO set reconstruction&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
