Hi All
I would like to do a hobby project in c++/Dx11 using transaction data from the BTC blockchain.
Whats the easiest way to get an extract into an easy format to work with (csv/txt etc etc)? it doesnt need to be live data, just a large sample starting at the first block.
Any advice would be greatly appreciated.
Learn how the to use the command line tools.
For example:
bitcoin-cli getblockhash 1
That will give you the block hash of block 1. Then run:
bitcoin-cli getblock <blockhash>
That will print data about the block data, including transactions. Take a transaction ID and use:
bitcoin-cli gettransaction <txid>
You can make app that uses the RPC interface just like bitcoin-cli does to automate this.