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

Function OutputTx

src/lux-tx.cpp:540–548  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

538}
539
540static void OutputTx(const CTransaction& tx)
541{
542 if (GetBoolArg("-json", false))
543 OutputTxJSON(tx);
544 else if (GetBoolArg("-txid", false))
545 OutputTxHash(tx);
546 else
547 OutputTxHex(tx);
548}
549
550static string readStdin()
551{

Callers 1

CommandLineRawTxFunction · 0.85

Calls 4

GetBoolArgFunction · 0.85
OutputTxJSONFunction · 0.85
OutputTxHashFunction · 0.85
OutputTxHexFunction · 0.85

Tested by

no test coverage detected