45 | @@ -46,6 +46,6 @@ std::string EncodeHexTx(const CTransaction& tx, const int serializeFlags = 0);
46 | std::string SighashToStr(unsigned char sighash_type);
47 | void ScriptPubKeyToUniv(const CScript& scriptPubKey, UniValue& out, bool fIncludeHex);
48 | void ScriptToUniv(const CScript& script, UniValue& out, bool include_address);
49 | -void TxToUniv(const CTransaction& tx, const uint256& hashBlock, UniValue& entry, bool include_hex = true, int serialize_flags = 0, const CTxUndo* txundo = nullptr);
50 | +void TxToUniv(const CTransaction& tx, const uint256& hashBlock, UniValue& entry, bool include_hex = true, int serialize_flags = 0, const CTxUndo* txundo = nullptr, const bool display_prev_out = false);
Can we just use BlockToJsonVerbosity here? (Maybe rename it)
I renamed it to TxVerbosity, and moved it to src/core_io.h. Feels cleaner than passing bools.
(Please mark as resolved 🙏 )
(Please mark as resolved 🙏 )