aboutsummaryrefslogtreecommitdiff
path: root/src/core_io.h
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2014-10-30 02:56:33 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2014-11-18 19:20:10 +0000
commit3dcbb9b6b488f077d4ab7e4296dffbf3aea4a0fb (patch)
tree287a28eb494933d9b41cb50c77f9bdd81f9ce066 /src/core_io.h
parent132ea9b48f65dcb4784a7e9688f3b194d5578c80 (diff)
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 94848f1c3d..8777aa3b85 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);