how http://blockchain.info/, http://blockexplorer.com/q or http://www.bitcoinmonitor.com/ works

1

Possible Duplicate:
How can I read information from the blockchain?

Can anyone tell me from where exactly sites like

  1. http://www.bitcoinmonitor.com/
  2. http://blockchain.info/ can't post more links

take their information. How bitcoinmonitor knows what transactions have been done right now?

Salvador Dali

Posted 2012-09-20T22:24:52.513

Reputation: 3 050

Question was closed 2012-11-25T02:30:21.477

Answers

2

They monitor the public blockchain from multiple Bitcoin servers. There's a very simple rule for which chain is valid -- whatever chain has the most work is the valid one.

David Schwartz

Posted 2012-09-20T22:24:52.513

Reputation: 46 931

So if for instance I want to create a service, similar to above mentioned, to what servers I have to connect. As far as I know all the information is stored in .dat files on the computer, where bitcoin is installed.Salvador Dali 2012-09-21T00:48:08.080

1@SalvadorDali: You could just connect to a random set of nodes, but there's an advantage to connecting to the nodes closest to the large mining pools. You can find them by looking at which nodes tend to be first to announce a newly-found block. It doesn't matter that much so long as you are well connected as the mining pools are careful to keep themselves well connected too.David Schwartz 2012-09-21T18:18:10.300

1

You can get most of the information provided by those services through the use of the Bitcoin API. You might need to do some bookkeeping (for tracking transaction details and so forth), but it shouldn't be too hard. Other information needs to be extracted using additional tools, for example some packet sniffers for discovering transaction's relaters' IPs and so forth.

ThePiachu

Posted 2012-09-20T22:24:52.513

Reputation: 41 594