Bitcoin Forum
May 03, 2024, 08:28:36 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Blockchain  (Read 176 times)
Begamucks (OP)
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]
1714768116
Hero Member
*
Offline Offline

Posts: 1714768116

View Profile Personal Message (Offline)

Ignore
1714768116
Reply with quote  #2

1714768116
Report to moderator
1714768116
Hero Member
*
Offline Offline

Posts: 1714768116

View Profile Personal Message (Offline)

Ignore
1714768116
Reply with quote  #2

1714768116
Report to moderator
1714768116
Hero Member
*
Offline Offline

Posts: 1714768116

View Profile Personal Message (Offline)

Ignore
1714768116
Reply with quote  #2

1714768116
Report to moderator
Unlike traditional banking where clients have only a few account numbers, with Bitcoin people can create an unlimited number of accounts (addresses). This can be used to easily track payments, and it improves anonymity.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
AGD
Legendary
*
Offline Offline

Activity: 2069
Merit: 1164


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: 1386
Merit: 1053


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: 112
Merit: 13


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

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

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!