ChainstateManager::LoadGenesisBlock

Ensures a genesis block is in the block tree, possibly writing one to disk.

Synopsis

Declared in <validation.h>

[[nodiscard]]
bool
LoadGenesisBlock();

Return Value

true if the genesis block is present after the call.

NOTE

The return value should not be discarded.