16

I've been going to blockchain.info frequently to check addresses, transactions, blocks, etc. But since I've already got the blockchain on my hard drive, this seems kind of pointless. Is there any software similar to blockchain.info that runs natively on Linux, and uses Bitcoin-qt/bitcoind's blockchain, and therefore doesn't require an internet connection?

2
  • 3
    I think ABE (en.bitcoin.it/wiki/Abe) does this. Commented Oct 29, 2013 at 14:47
  • ABE is a good one as Meni states. I believe it uses a database though. You can always Code a program or script to parse the block chain if you really wanted to... But ABE is the easiest. Having coded and run a block explorer based solely on rpc commands, I can tell you it's possible to do it with rpc only... But I found that it takes time I don't always have. And thus my own code went in to limbo. And now is going to take a few weeks to get up to snuff. Good luck!
    – Joe White
    Commented Nov 6, 2013 at 2:12

3 Answers 3

6

Abe does exactly what you want. I will walk the entire blockchain from bitcoin-qt/bitcoind and populate a local database. It supports several database backends including sqlite, Postgres, MySQL and Oracle.

It will take quite some time to walk the blockchain and populate the database, possibly a few days.

It has a web based interface that is very similar to blockchain.info and blockexplorer.

2

Unfortunately, there is no good (easy to use, desktop software) program for this. You can use Bitcoin-Qt's debug window (or JSON-RPC server, if you choose to enable it) to request information using methods like getblock/getrawtransaction, but it isn't very user-friendly.

0

Well, I don't think what you are looking for does exist.

You need to know that bitcoind only keeps your data in binary format. When it receives and stores blocks, it will check for transactions involving addresses in your wallet. All the other ones are just written to the disk. Since this data is binary, it is extremely slow to search through it.

Programs that allow you to look up every transaction and block have a more complex data structure with many indexes meaning greater storage volume.

As Meni and Joe mention in the comments, Abe seems to be something that can help you, though it will need additional disc space.

Another Block Explorer implementation that I know of, is the one from the BitcoinJS team that is written in Node.js. It can be found on GitHub.

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.