Skip to content

Instantly share code, notes, and snippets.

@Christewart
Created March 19, 2016 20:50
Show Gist options
  • Save Christewart/dcd622b4ae8832a91c3d to your computer and use it in GitHub Desktop.
Save Christewart/dcd622b4ae8832a91c3d to your computer and use it in GitHub Desktop.
Running bitcoin core test case and getting tx hex to stdout
chris@chris:~/.../src/test$ ./test_bitcoin -t script_tests/script_valid
Running 1 test case...
tests: [["Automatically generated test cases"],["0x47 0x304402200a5c6163f07b8d3b013c4d1d6dba25e780b39658d79ba37af7057a3b7f15ffa102201fd9b4eaa9943f734928b99a83592c2e7bf342ea2680f6a2bb705167966b742001","0x41 0x0479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8 CHECKSIG","","P2PK"]]
Transaction: 01000000019ce5586f04dd407719ab7e2ed3583583b9022f29652702cfac5ed082013461fe000000004847304402200a5c6163f07b8d3b013c4d1d6dba25e780b39658d79ba37af7057a3b7f15ffa102201fd9b4eaa9943f734928b99a83592c2e7bf342ea2680f6a2bb705167966b742001ffffffff0100000000000000000000000000
Done
*** No errors detected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment