aboutsummaryrefslogtreecommitdiff
path: root/src/core_io.h
diff options
context:
space:
mode:
authorLuke Dashjr <[email protected]>2014-10-30 02:56:33 +0000
committerLuke Dashjr <[email protected]>2014-11-18 19:20:10 +0000
commit3dcbb9b6b488f077d4ab7e4296dffbf3aea4a0fb (patch)
tree287a28eb494933d9b41cb50c77f9bdd81f9ce066 /src/core_io.h
parentminer_tests: Disable checkpoints so they don't fail the subsidy-change test (diff)
downloaddiscoin-3dcbb9b6b488f077d4ab7e4296dffbf3aea4a0fb.tar.xz
discoin-3dcbb9b6b488f077d4ab7e4296dffbf3aea4a0fb.zip
Abstract DecodeHexBlk and BIP22ValidationResult functions out of submitblock
Diffstat (limited to 'src/core_io.h')
-rw-r--r--src/core_io.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core_io.h b/src/core_io.h
index 94848f1c3..8777aa3b8 100644
--- a/src/core_io.h
+++ b/src/core_io.h
@@ -8,6 +8,7 @@
#include <string>
#include <vector>
+class CBlock;
class CScript;
class CTransaction;
class uint256;
@@ -16,6 +17,7 @@ class UniValue;
// core_read.cpp
extern CScript ParseScript(std::string s);
extern bool DecodeHexTx(CTransaction& tx, const std::string& strHexTx);
+extern bool DecodeHexBlk(CBlock&, const std::string& strHexBlk);
extern uint256 ParseHashUV(const UniValue& v, const std::string& strName);
extern std::vector<unsigned char> ParseHexUV(const UniValue& v, const std::string& strName);