aboutsummaryrefslogtreecommitdiff
path: root/src/core_io.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2016-11-30 14:50:20 -0800
committerPieter Wuille <pieter.wuille@gmail.com>2016-12-02 18:28:22 -0800
commit42fd8dee302fec55ba0970e2f1378edc2797e4ff (patch)
tree0b2b5cb6be13f876f5b0fc6060da144213cda6bc /src/core_io.h
parentc3f5673a6304e3ea9fa56fff66b6ea1cb73cc98f (diff)
downloadbitcoin-42fd8dee302fec55ba0970e2f1378edc2797e4ff.tar.xz
Make DecodeHexTx return a CMutableTransaction
Diffstat (limited to 'src/core_io.h')
-rw-r--r--src/core_io.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core_io.h b/src/core_io.h
index 5aecbc4489..4344290bb8 100644
--- a/src/core_io.h
+++ b/src/core_io.h
@@ -11,13 +11,14 @@
class CBlock;
class CScript;
class CTransaction;
+class CMutableTransaction;
class uint256;
class UniValue;
// core_read.cpp
CScript ParseScript(const std::string& s);
std::string ScriptToAsmStr(const CScript& script, const bool fAttemptSighashDecode = false);
-bool DecodeHexTx(CTransaction& tx, const std::string& strHexTx, bool fTryNoWitness = false);
+bool DecodeHexTx(CMutableTransaction& tx, const std::string& strHexTx, bool fTryNoWitness = false);
bool DecodeHexBlk(CBlock&, const std::string& strHexBlk);
uint256 ParseHashUV(const UniValue& v, const std::string& strName);
uint256 ParseHashStr(const std::string&, const std::string& strName);