2

How does blockchain.info get their info? My intuition tells me that they have a modified client that reads and processes the blockchain (either directly from the network as it comes in or from the raw files on disk) and stores the various data and relationships in a database.

I'm also guessing that they may use the RPC interface for the standard bitcoind to do simple things like getdifficulty() or getblockcount() quikly.

Can anyone confirm this? Any ideas?

1

1 Answer 1

3

They most likely have an advanced block chain indexing backend. Basically they run a node (most likely bitcoinj with custom code) that listens for blocks from all the connected nodes they have. And once they have a block they add all it's info into a database that they run queries on for results.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.