diff options
author | Andrew Chow <achow101-github@achow101.com> | 2017-08-11 12:21:14 -0700 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-08-21 09:49:16 +0200 |
commit | 07164bbeadd928e26390789231a48bc32b1774c8 (patch) | |
tree | 4fe00ae5269856945b38bbd4c66d27c4e058f062 /src/core_io.h | |
parent | eb9c21ed793127b12b496c95c28ddb13cc8c0427 (diff) | |
download | bitcoin-07164bbeadd928e26390789231a48bc32b1774c8.tar.xz |
Pass serialization flags and whether to include hex to TxToUniv
Github-Pull: #11027
Rebased-From: 6bbdafcdc4f9d9e3f9de72ed686c060fb4b8b465
Tree-SHA512: 8ed049a0945c4f56c518aef6d60efebda5cde09ef63d8e472b363821170d71fb4d16414b360824d7537fc7c7b5e5277bbbd092a20899446e97c188ab8df58c1b
Diffstat (limited to 'src/core_io.h')
-rw-r--r-- | src/core_io.h | 2 |
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 |