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

Function EncodeHexTx

src/core_write.cpp:137–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137std::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
144void ScriptToUniv(const CScript& script, UniValue& out, bool include_address)
145{

Callers 10

TxToUnivFunction · 0.85
OutputTxHexFunction · 0.85
gettransactionFunction · 0.85
fundrawtransactionFunction · 0.85
getTxHexMethod · 0.85
getblocktemplateFunction · 0.85
getrawtransactionFunction · 0.85
createrawtransactionFunction · 0.85
combinerawtransactionFunction · 0.85
SignTransactionFunction · 0.85

Calls 3

HexStrFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected