Bitcoin Forum
January 17, 2019, 12:15:53 PM *
News: The copper membership price will increase by about 300% around Friday.
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Blockchain  (Read 94 times)
Begamucks
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
December 29, 2017, 01:35:51 PM
Last edit: April 11, 2018, 12:31:43 PM by Begamucks
 #1

 [deleted]
1547727353
Hero Member
*
Offline Offline

Posts: 1547727353

View Profile Personal Message (Offline)

Ignore
1547727353
Reply with quote  #2

1547727353
Report to moderator
1547727353
Hero Member
*
Offline Offline

Posts: 1547727353

View Profile Personal Message (Offline)

Ignore
1547727353
Reply with quote  #2

1547727353
Report to moderator
The forum was founded in 2009 by Satoshi and Sirius. It replaced a SourceForge forum.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1547727353
Hero Member
*
Offline Offline

Posts: 1547727353

View Profile Personal Message (Offline)

Ignore
1547727353
Reply with quote  #2

1547727353
Report to moderator
1547727353
Hero Member
*
Offline Offline

Posts: 1547727353

View Profile Personal Message (Offline)

Ignore
1547727353
Reply with quote  #2

1547727353
Report to moderator
AGD
Legendary
*
Offline Offline

Activity: 1762
Merit: 1044


Keeper of the Private Key


View Profile
December 29, 2017, 05:22:09 PM
 #2

sql?

Bitcoin is not a bubble, it's the pin!
+++ GPG Public key FFBD756C24B54962E6A772EA1C680D74DB714D40 +++ http://pgp.mit.edu/pks/lookup?op=get&search=0x1C680D74DB714D40
washi
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
December 29, 2017, 07: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 <blockhash>

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

Code:
bitcoin-cli gettransaction <txid>


You can make app that uses the RPC interface just like bitcoin-cli does to automate this.
Taras
Legendary
*
Offline Offline

Activity: 1330
Merit: 1017


Please do not PM me loan requests!


View Profile WWW
December 29, 2017, 09: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.
uarebitcoinsbox
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
December 30, 2017, 08:27:25 AM
 #5

use sqli..
Pages: [1]
  Print  
 
Jump to:  

Bitcointalk.org is not available or authorized for sale. Do not believe any fake listings.
Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!