<p>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.</p>

CC BY-SA 3.0
2012-09-21T00:48:08.080Z
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
CC BY-SA 3.0
2012-09-21T18:18:10.300Z
@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
CC BY-SA 3.0
2012-09-21T00:12:42.440Z
2012-09-21T00:12:42.440Z
David Schwartz
<p>You can get most of the information provided by those services through the use of the <a href="https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list" rel="nofollow">Bitcoin API</a>. 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.</p>

CC BY-SA 3.0
2012-09-21T06:35:56.370Z
2012-09-21T06:35:56.370Z
ThePiachu
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="https://bitcoin.stackexchange.com/questions/4601/how-can-i-read-information-from-the-blockchain">How can I read information from the blockchain?</a>  </p>
</blockquote>



<p>Can anyone tell me from where exactly sites like </p>

<ol>
<li><a href="http://www.bitcoinmonitor.com/" rel="nofollow noreferrer">http://www.bitcoinmonitor.com/</a> </li>
<li><a href="http://blockchain.info/" rel="nofollow noreferrer">http://blockchain.info/</a>
can't post more links</li>
</ol>

<p>take their information.
How bitcoinmonitor knows what transactions have been done right now?</p>

<transactions><blockchain><block>
how http://blockchain.info/, http://blockexplorer.com/q or http://www.bitcoinmonitor.com/ works
Salvador Dali
# how http://blockchain.info/, http://blockexplorer.com/q or http://www.bitcoinmonitor.com/ works

(Asked by: username_0 on 2012-09-20)

> **Possible Duplicate:**  
> [How can I read information from the blockchain?](https://bitcoin.stackexchange.com/questions/4601/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?

**Tags:** transactions, blockchain, block


---

## 2 answers

### Answer by username_1 on 2012-09-21. Score: 2 | Accepted answer

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.

> **Comments:**
> **username_0**: 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.  
> **username_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.  

---

### Answer by username_2 on 2012-09-21. Score: 1

You can get most of the information provided by those services through the use of the [Bitcoin API](https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list). 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.


---

