diff options
author | Jorge Timón <jtimon@jtimon.cc> | 2015-11-10 19:28:56 +0100 |
---|---|---|
committer | Jorge Timón <jtimon@jtimon.cc> | 2015-11-11 01:33:39 +0100 |
commit | 726784374520347f09372532bd89156cdfd950f2 (patch) | |
tree | a9b4396a9eac8218a10c5f3c1edcb886a3538e23 /src/main.h | |
parent | 77beab70deae8ad821cc069c1ce80fc809c89c33 (diff) |
Globals: Make AcceptBlockHeader static (Fix #6163)
..and at the same time prevent AcceptBlockHeader() from calling global function Params()
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h index c7dad10ca3..689743d56a 100644 --- a/src/main.h +++ b/src/main.h @@ -380,7 +380,6 @@ bool TestBlockValidity(CValidationState &state, const CBlock& block, CBlockIndex /** Store block on disk. If dbp is non-NULL, the file is known to already reside on disk */ bool AcceptBlock(const CBlock& block, CValidationState& state, CBlockIndex **pindex, bool fRequested, CDiskBlockPos* dbp); -bool AcceptBlockHeader(const CBlockHeader& block, CValidationState& state, const Consensus::Params& consensusParams, CBlockIndex **ppindex= NULL); class CBlockFileInfo |