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

Function OutputTxHash

src/lux-tx.cpp:526–531  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

524}
525
526static void OutputTxHash(const CTransaction& tx)
527{
528 string strHexHash = tx.GetHash().GetHex(); // the hex-encoded transaction hash (aka the transaction id)
529
530 fprintf(stdout, "%s\n", strHexHash.c_str());
531}
532
533static void OutputTxHex(const CTransaction& tx)
534{

Callers 1

OutputTxFunction · 0.85

Calls 2

GetHexMethod · 0.45
GetHashMethod · 0.45

Tested by

no test coverage detected