| 524 | } |
| 525 | |
| 526 | static 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 | |
| 533 | static void OutputTxHex(const CTransaction& tx) |
| 534 | { |