aboutsummaryrefslogtreecommitdiff
path: root/src/core_io.h
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2017-08-11 12:21:14 -0700
committerAndrew Chow <achow101-github@achow101.com>2017-08-17 10:42:51 -0700
commit6bbdafcdc4f9d9e3f9de72ed686c060fb4b8b465 (patch)
tree2a3cabde520fbe74bde9f434f4a1d724840c73f8 /src/core_io.h
parente029c6e709d251809aa04edc08f76a077a2443e7 (diff)
downloadbitcoin-6bbdafcdc4f9d9e3f9de72ed686c060fb4b8b465.tar.xz
Pass serialization flags and whether to include hex to TxToUniv
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 3f25faf0ec..ccc72ebb32 100644
--- a/src/core_io.h
+++ b/src/core_io.h
@@ -31,6 +31,6 @@ UniValue ValueFromAmount(const CAmount& amount);
std::string FormatScript(const CScript& script);
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);
+void TxToUniv(const CTransaction& tx, const uint256& hashBlock, UniValue& entry, bool include_hex = true, int serialize_flags = 0);
#endif // BITCOIN_CORE_IO_H