Created
November 12, 2013 14:53
-
-
Save esbullington/7432131 to your computer and use it in GitHub Desktop.
Command to fetch all Bitcoin blockchain transaction id's and put them in a (very large) text file. Requires the amazing jq, bitcoind (comes with reference client), along with standard linux coreutils.
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
bitcoind getblockcount | xargs seq | xargs -I{} bitcoind getblockhash {} | xargs -I{} bitcoind getblock {} | jq --raw-output '.tx[]' >> alltx.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment