| 730 | } |
| 731 | |
| 732 | static 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 | |
| 739 | static void OutputTxHex(const CTransaction& tx) |
| 740 | { |