Author

Topic: Reading the Bitcoin leveldb (Read 665 times)

legendary
Activity: 4060
Merit: 1303
newbie
Activity: 6
Merit: 0
October 24, 2016, 09:15:14 AM
#1
Hi,
i am trying to read the two bitcoin's levelDbs, i am facing some difficulties to understand the key/value scheme used. i've read the table format doc https://github.com/bitcoin-core/leveldb/blob/bitcoin-fork/doc/table_format.txt
and the https://github.com/bitcoin/bitcoin/blob/master/src/txdb.cpp and other but i didn't succeed to build an idea about how the data is stored in these Dbs, i tried to query the blocks using b+blockshash but without any success, so could you help me to query the data inside a block? any clue is welcome  Grin.
Jump to: