diff options
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/main.h b/src/main.h index 022c6ad074..f85953c4f2 100644 --- a/src/main.h +++ b/src/main.h @@ -701,11 +701,6 @@ public: printf("%s ", vMerkleTree[i].ToString().c_str()); printf("\n"); } - - - // Store block on disk - // if dbp is provided, the file is known to already reside on disk - bool AcceptBlock(CValidationState &state, CDiskBlockPos *dbp = NULL); }; @@ -732,6 +727,10 @@ bool AddToBlockIndex(CBlock& block, CValidationState& state, const CDiskBlockPos // Context-independent validity checks bool CheckBlock(const CBlock& block, CValidationState& state, bool fCheckPOW = true, bool fCheckMerkleRoot = true); +// Store block on disk +// if dbp is provided, the file is known to already reside on disk +bool AcceptBlock(CBlock& block, CValidationState& state, CDiskBlockPos* dbp = NULL); + class CBlockFileInfo |