8
3
I want to process the Bitcoin network's transactions. As I understand it, the Bitcoin-Qt client downloads and stores all that information locally.
Since version 0.8 LevelDB has been used to access this data. I found two databases, in blocks/index and in chainstate. However, I cannot make sense of the content. The first entry looks like this:
B = ??????{?:???????`?5g??
Am I on the right track and where can I find a specification of the data?
The data is stored in an application-specific format optimized for compact storage, and wasn't really intended to be easily parsed by other applications. You can access the data in the chainstate through the
gettxoutRPC call, and the data in the block index throughgetblock. I'll try to find time for a write-up of the exact format. – Pieter Wuille – 2013-07-29T07:17:48.337@PieterWuille Your comment would be a great start for an answer. – Murch – 2014-10-03T10:47:26.873