Created
March 19, 2016 20:39
-
-
Save Christewart/c1cbfa3d50ff585d2be4 to your computer and use it in GitHub Desktop.
Bitcoin Core transaction to stdout in hex format
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CDataStream ss(SER_NETWORK, PROTOCOL_VERSION); | |
ss << tx; | |
printf("Transaction: %s\n", HexStr(ss).c_str()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment