aboutsummaryrefslogtreecommitdiff
path: root/src/validation.h
diff options
context:
space:
mode:
authorCarl Dong <contact@carldong.me>2021-03-08 15:48:42 -0500
committerCarl Dong <contact@carldong.me>2021-03-08 15:54:21 -0500
commita04aac493fd564894166d58ed4cdfd9ad4f561cb (patch)
tree216045260747bc9cd214a8a3635efc732af0fde1 /src/validation.h
parent2067f9e5e89113f514e5d895dcdfa8e73d63c118 (diff)
downloadbitcoin-a04aac493fd564894166d58ed4cdfd9ad4f561cb.tar.xz
validation: Remove extraneous LoadGenesisBlock function prototype
Leftover from last bundle.
Diffstat (limited to 'src/validation.h')
-rw-r--r--src/validation.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/validation.h b/src/validation.h
index 74f8541934..512b306219 100644
--- a/src/validation.h
+++ b/src/validation.h
@@ -148,8 +148,6 @@ extern const std::vector<std::string> CHECKLEVEL_DOC;
FILE* OpenBlockFile(const FlatFilePos &pos, bool fReadOnly = false);
/** Translation to a filesystem path */
fs::path GetBlockPosFilename(const FlatFilePos &pos);
-/** Ensures we have a genesis block in the block tree, possibly writing one to disk. */
-bool LoadGenesisBlock(const CChainParams& chainparams);
/** Unload database information */
void UnloadBlockIndex(CTxMemPool* mempool, ChainstateManager& chainman);
/** Run instances of script checking worker threads */
@@ -725,6 +723,7 @@ public:
/** Replay blocks that aren't fully applied to the database. */
bool ReplayBlocks(const CChainParams& params);
bool RewindBlockIndex(const CChainParams& params) LOCKS_EXCLUDED(cs_main);
+ /** Ensures we have a genesis block in the block tree, possibly writing one to disk. */
bool LoadGenesisBlock(const CChainParams& chainparams);
void PruneBlockIndexCandidates();