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

Function OutputTxJSON

src/lux-tx.cpp:517–524  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

515}
516
517static void OutputTxJSON(const CTransaction& tx)
518{
519 UniValue entry(UniValue::VOBJ);
520 TxToUniv(tx, uint256(), entry);
521
522 string jsonOutput = entry.write(4);
523 fprintf(stdout, "%s\n", jsonOutput.c_str());
524}
525
526static void OutputTxHash(const CTransaction& tx)
527{

Callers 1

OutputTxFunction · 0.85

Calls 3

TxToUnivFunction · 0.85
uint256Class · 0.70
writeMethod · 0.45

Tested by

no test coverage detected