[#ChainstateManager-LoadGenesisBlock] = xref:ChainstateManager.adoc[ChainstateManager]::LoadGenesisBlock :relfileprefix: ../ :mrdocs: Ensures a genesis block is in the block tree, possibly writing one to disk. == Synopsis Declared in `<validation.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] bool LoadGenesisBlock(); ---- == Return Value true if the genesis block is present after the call. [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== [.small]#Created with https://www.mrdocs.com[MrDocs]#