<p>Most questions answer this about the old 0.7 version of keeping the blockchain. 0.8 changed to leveldb instead of berkeleydb from what I've read, and obviously Bitcoin-Qt is able to read it. For a project though, I want to read each block, and in in turn process each transaction. How would I go about actually reading the data in these blocks? Maybe as JSON or some other human-readable format.</p>

<p>Thanks in advance for any help. I've googled too much and just figured I'd ask the question instead of looking for an answer elsewhere that will likely end up being a good answer for 0.7 and earlier.</p>

CC BY-SA 3.0
2013-05-10T23:18:42.607Z
So the answers there may have become outdated, but the question is the same.
Stephen Gornick
CC BY-SA 3.0
2013-05-11T05:01:42.790Z
Yes. same question. The solutions that apply to BerkeleyDB are not applicable to leveldb. I have yet to find a way to query or otherwise read anything from a leveldb and that is what prompted asking it again. Hopefully we'll have an answer that is googlable for 0.8+.
maccam912
<blockchain>
Bitcoin-Qt [0.8+] can read the blockchain. How can I? (and make it human readable)
maccam912
# Bitcoin-Qt [0.8+] can read the blockchain. How can I? (and make it human readable)

(Asked by: username_0 on 2013-05-10)

Most questions answer this about the old 0.7 version of keeping the blockchain. 0.8 changed to leveldb instead of berkeleydb from what I've read, and obviously Bitcoin-Qt is able to read it. For a project though, I want to read each block, and in in turn process each transaction. How would I go about actually reading the data in these blocks? Maybe as JSON or some other human-readable format.

Thanks in advance for any help. I've googled too much and just figured I'd ask the question instead of looking for an answer elsewhere that will likely end up being a good answer for 0.7 and earlier.

**Tags:** blockchain

> **Comments:**
> **username_1**: So the answers there may have become outdated, but the question is the same.  
> **username_0**: Yes. same question. The solutions that apply to BerkeleyDB are not applicable to leveldb. I have yet to find a way to query or otherwise read anything from a leveldb and that is what prompted asking it again. Hopefully we'll have an answer that is googlable for 0.8+.  

---

## 0 answers

