MCPcopy Create free account
hub / github.com/LUX-Core/lux / EncodeHexTx

Function EncodeHexTx

src/core_write.cpp:68–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 12

gettransactionFunction · 0.85
createcontractFunction · 0.85
sendtocontractFunction · 0.85
TxToUnivFunction · 0.85
OutputTxHexFunction · 0.85
getblocktemplateFunction · 0.85
getrawtransactionFunction · 0.85
fundrawtransactionFunction · 0.85
createrawtransactionFunction · 0.85
signrawtransactionFunction · 0.85
getTxHexMethod · 0.85
getTxHexMethod · 0.85

Calls 3

HexStrFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected