mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-11 12:22:39 -03:00
validation: Remove extraneous LoadGenesisBlock function prototype
Leftover from last bundle.
This commit is contained in:
parent
2067f9e5e8
commit
a04aac493f
1 changed files with 1 additions and 2 deletions
|
@ -148,8 +148,6 @@ extern const std::vector<std::string> CHECKLEVEL_DOC;
|
||||||
FILE* OpenBlockFile(const FlatFilePos &pos, bool fReadOnly = false);
|
FILE* OpenBlockFile(const FlatFilePos &pos, bool fReadOnly = false);
|
||||||
/** Translation to a filesystem path */
|
/** Translation to a filesystem path */
|
||||||
fs::path GetBlockPosFilename(const FlatFilePos &pos);
|
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 */
|
/** Unload database information */
|
||||||
void UnloadBlockIndex(CTxMemPool* mempool, ChainstateManager& chainman);
|
void UnloadBlockIndex(CTxMemPool* mempool, ChainstateManager& chainman);
|
||||||
/** Run instances of script checking worker threads */
|
/** Run instances of script checking worker threads */
|
||||||
|
@ -725,6 +723,7 @@ public:
|
||||||
/** Replay blocks that aren't fully applied to the database. */
|
/** Replay blocks that aren't fully applied to the database. */
|
||||||
bool ReplayBlocks(const CChainParams& params);
|
bool ReplayBlocks(const CChainParams& params);
|
||||||
bool RewindBlockIndex(const CChainParams& params) LOCKS_EXCLUDED(cs_main);
|
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);
|
bool LoadGenesisBlock(const CChainParams& chainparams);
|
||||||
|
|
||||||
void PruneBlockIndexCandidates();
|
void PruneBlockIndexCandidates();
|
||||||
|
|
Loading…
Reference in a new issue