MCPcopy Create free account
hub / github.com/bitcoinxt/bitcoinxt / EncodeHexTx

Function EncodeHexTx

src/core_write.cpp:133–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 7

TxToUnivFunction · 0.85
OutputTxHexFunction · 0.85
getblocktemplateFunction · 0.85
getrawtransactionFunction · 0.85
createrawtransactionFunction · 0.85
signrawtransactionFunction · 0.85
gettransactionFunction · 0.85

Calls 3

HexStrFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected