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

Function OutputTx

src/bitcoin-tx.cpp:543–551  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

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