aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2014-03-11 17:36:21 +0100
committerPieter Wuille <pieter.wuille@gmail.com>2014-04-25 00:33:13 +0200
commitf457347053029d6a0248036a1ffeb7127108fd6d (patch)
treeba7f669bed780bf241f58e03c3e523ef51123f24 /src/main.h
parent4765b8c11679aeb76efd9ce907a5c17661d4b018 (diff)
Split up CheckBlock in a block and header version
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h
index aff20d0379..8e3f1d95ce 100644
--- a/src/main.h
+++ b/src/main.h
@@ -603,6 +603,7 @@ bool ConnectBlock(CBlock& block, CValidationState& state, CBlockIndex* pindex, C
bool AddToBlockIndex(CBlock& block, CValidationState& state, const CDiskBlockPos& pos);
// Context-independent validity checks
+bool CheckBlockHeader(const CBlockHeader& block, CValidationState& state, bool fCheckPOW = true);
bool CheckBlock(const CBlock& block, CValidationState& state, bool fCheckPOW = true, bool fCheckMerkleRoot = true);
// Store block on disk