Files
bitcoin/src/validation.cpp
MarcoFalke fa615bd163 refactor: Move LoadGenesisBlock to ChainstateManager
The function does not need anything from any chainstate, so it should
not sit in the Chainstate class.

Also, mark it [[nodiscard]], and the one place that ignores the return
value with (void).

Also, change the error log strings to not include the __func__, which is
redundant with -logsourcelocations. This is not a refactor, but this log
is only for debugging extremely rare errors.
2026-07-07 19:13:36 +02:00

306 KiB