Author

Topic: Blockchain (Read 199 times)

member
Activity: 112
Merit: 13
December 30, 2017, 03:27:25 AM
#5
use sqli..
legendary
Activity: 1386
Merit: 1053
Please do not PM me loan requests!
December 29, 2017, 04:26:23 PM
#4
If you use RPC, make sure to set txindex=1 on your client so that it keeps track of all transactions, not just your own.
newbie
Activity: 2
Merit: 0
December 29, 2017, 02:35:46 PM
#3
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:

Code:
bitcoin-cli getblockhash 1

That will give you the block hash of block 1. Then run:

Code:
bitcoin-cli getblock 

That will print data about the block data, including transactions. Take a transaction ID and use:

Code:
bitcoin-cli gettransaction 


You can make app that uses the RPC interface just like bitcoin-cli does to automate this.
AGD
legendary
Activity: 2070
Merit: 1164
Keeper of the Private Key
December 29, 2017, 12:22:09 PM
#2
sql?
newbie
Activity: 3
Merit: 0
December 29, 2017, 08:35:51 AM
#1
 [deleted]
Jump to: