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

Function OutputTxHash

src/bitcoin-tx.cpp:732–737  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

730}
731
732static void OutputTxHash(const CTransaction& tx)
733{
734 std::string strHexHash = tx.GetHash().GetHex(); // the hex-encoded transaction hash (aka the transaction id)
735
736 fprintf(stdout, "%s\n", strHexHash.c_str());
737}
738
739static void OutputTxHex(const CTransaction& tx)
740{

Callers 1

OutputTxFunction · 0.85

Calls 2

GetHexMethod · 0.45
GetHashMethod · 0.45

Tested by

no test coverage detected