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

Synopsis

Declared in <node/utxo_snapshot.h>

[[requires_capability(0x7f2e40e74de0)]]
bool
WriteSnapshotBaseBlockhash(Chainstate& snapshot_chainstate);

Return Value

True on success, false if the blockhash could not be written.

Parameters

Name

Description

snapshot_chainstate

The snapshot chainstate whose base blockhash is written.

Created with MrDocs