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

Write out the blockhash of the snapshot base block that was used to construct this chainstate&period; This value is read in during subsequent initializations and used to reconstruct snapshot&hyphen;based chainstates&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f2e40e74de0)&rsqb;&rsqb;
bool
WriteSnapshotBaseBlockhash(xref:Chainstate.adoc[Chainstate]& snapshot&lowbar;chainstate);
----

== Return Value

True on success, false if the blockhash could not be written&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *snapshot&lowbar;chainstate*
| The snapshot chainstate whose base blockhash is written&period;
|===


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