| 131 | } |
| 132 | |
| 133 | string EncodeHexTx(const CTransaction& tx) |
| 134 | { |
| 135 | CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION); |
| 136 | ssTx << tx; |
| 137 | return HexStr(ssTx.begin(), ssTx.end()); |
| 138 | } |
| 139 | |
| 140 | void ScriptPubKeyToUniv(const CScript& scriptPubKey, |
| 141 | UniValue& out, bool fIncludeHex) |
no test coverage detected