aboutsummaryrefslogtreecommitdiff
path: root/src/core_io.h
diff options
context:
space:
mode:
authorMeshCollider <dobsonsa68@gmail.com>2017-08-28 18:00:21 +1200
committerMeshCollider <dobsonsa68@gmail.com>2017-09-06 11:24:59 +1200
commitbbdbe805a25ae7c63e6237b3f30b8379ea29ac22 (patch)
tree938f2bb10a57b878566dc3f8020f2087b2d83234 /src/core_io.h
parent28485c783d826fa6ce14aaf215e82118c1af8db7 (diff)
downloadbitcoin-bbdbe805a25ae7c63e6237b3f30b8379ea29ac22.tar.xz
Add iswitness parameter to decode- and fundrawtransaction RPCs
Diffstat (limited to 'src/core_io.h')
-rw-r--r--src/core_io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core_io.h b/src/core_io.h
index ccc72ebb32..946480cfa4 100644
--- a/src/core_io.h
+++ b/src/core_io.h
@@ -20,7 +20,7 @@ class UniValue;
// core_read.cpp
CScript ParseScript(const std::string& s);
std::string ScriptToAsmStr(const CScript& script, const bool fAttemptSighashDecode = false);
-bool DecodeHexTx(CMutableTransaction& tx, const std::string& strHexTx, bool fTryNoWitness = false);
+bool DecodeHexTx(CMutableTransaction& tx, const std::string& hex_tx, bool try_no_witness = false, bool try_witness = true);
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);