How does blockchain.info get the addressbalance / seen date?

1

I am trying to figure out how blockchain.info gets the following API functions and is there any way to do these calls on a server (without using their API) perhaps through bitcoind?

https://blockchain.info/q/addressfirstseen/
https://blockchain.info/q/addressbalance/

Thanks.

Jonovono

Posted 2013-12-06T16:56:26.747

Reputation: 161

Answers

3

I'm actually working on doing this. To get the balance of an address you have to scan the entire blockchain. This can take a while but blockchain.info returns the balance instantly, which means they've already scanned the entire blockchain and are tracking all addresses. That's a lot of data to store, several gigabytes worth.

Bitlab.co

Posted 2013-12-06T16:56:26.747

Reputation: 724

Interesting, thanks! I thought it would have been easier.Jonovono 2013-12-06T19:43:50.037