| 135 | } |
| 136 | |
| 137 | std::string EncodeHexTx(const CTransaction& tx, const int serializeFlags) |
| 138 | { |
| 139 | CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION | serializeFlags); |
| 140 | ssTx << tx; |
| 141 | return HexStr(ssTx.begin(), ssTx.end()); |
| 142 | } |
| 143 | |
| 144 | void ScriptToUniv(const CScript& script, UniValue& out, bool include_address) |
| 145 | { |
no test coverage detected