| 66 | } |
| 67 | |
| 68 | string EncodeHexTx(const CTransaction& tx) |
| 69 | { |
| 70 | CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION); |
| 71 | ssTx << tx; |
| 72 | return HexStr(ssTx.begin(), ssTx.end()); |
| 73 | } |
| 74 | |
| 75 | void ScriptPubKeyToUniv(const CScript& scriptPubKey, |
| 76 | UniValue& out, |
no test coverage detected