aboutsummaryrefslogtreecommitdiff
path: root/src/core_io.h
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@bitpay.com>2014-06-23 23:16:33 -0400
committerJeff Garzik <jgarzik@bitpay.com>2014-07-29 11:13:27 -0400
commitb2aeaa79393608132104183eba117fcbf583148e (patch)
tree98bc68b1a815c0afe644e56e6fa6eb47297fe355 /src/core_io.h
parentae775b5b311982a3d932a9e34ddc94ce597dcaaf (diff)
downloadbitcoin-b2aeaa79393608132104183eba117fcbf583148e.tar.xz
Move ParseScript() helper, becoming accessible outside src/test/
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 257dac3627..528c472803 100644
--- a/src/core_io.h
+++ b/src/core_io.h
@@ -3,9 +3,11 @@
#include <string>
+class CScript;
class CTransaction;
// core_read.cpp
+extern CScript ParseScript(std::string s);
extern bool DecodeHexTx(CTransaction& tx, const std::string& strHexTx);
// core_write.cpp