aboutsummaryrefslogtreecommitdiff
path: root/src/core_io.h
diff options
context:
space:
mode:
authorGregory Sanders <gsanders87@gmail.com>2016-11-20 09:54:51 -0500
committerGregory Sanders <gsanders87@gmail.com>2016-12-05 07:43:22 -0500
commitbc7ff8db99dbc28f8b2d7a22f4650fa5349cb23b (patch)
tree4860b28d599fe0fc96ad19d5a56133ddafb1a8cd /src/core_io.h
parent7d5d44969b4ab46a5146a46b4ed1ed7704d71c63 (diff)
Add option to return non-segwit serialization via rpc
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 88425ed4fb..7642bc6d6e 100644
--- a/src/core_io.h
+++ b/src/core_io.h
@@ -26,7 +26,7 @@ std::vector<unsigned char> ParseHexUV(const UniValue& v, const std::string& strN
// core_write.cpp
std::string FormatScript(const CScript& script);
-std::string EncodeHexTx(const CTransaction& tx);
+std::string EncodeHexTx(const CTransaction& tx, const int serializeFlags = 0);
void ScriptPubKeyToUniv(const CScript& scriptPubKey, UniValue& out, bool fIncludeHex);
void TxToUniv(const CTransaction& tx, const uint256& hashBlock, UniValue& entry);