Skip to content

Instantly share code, notes, and snippets.

@melvincarvalho
Created October 26, 2013 00:02
Show Gist options
  • Select an option

  • Save melvincarvalho/7163697 to your computer and use it in GitHub Desktop.

Select an option

Save melvincarvalho/7163697 to your computer and use it in GitHub Desktop.
bitcoin blocks
bitcoind --daemon
wget http://stedolan.github.io/jq/download/linux64/jq
export BLOCK=00000000839a8e6886ab5951d76f411475428afc90947ee320161bbf18eb6048 ; for ((;;)) do BLOCK=`bitcoind getblock $BLOCK | ./jq -r '.nextblockhash'` ; echo $BLOCK ; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment