Read the blockhash of the snapshot base block that was used to construct the chainstate.

Synopsis

Declared in <node/utxo_snapshot.h>

[[requires_capability(0x7f2e40e75210)]]
std::optional<uint256>
ReadSnapshotBaseBlockhash(fs::path chaindir);

Return Value

The snapshot base blockhash, or std::nullopt if it is absent.

Parameters

Name

Description

chaindir

The chainstate directory to read the base blockhash from.

Created with MrDocs