Bitcoin Forum
November 14, 2024, 02:41:21 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Reading the Bitcoin leveldb  (Read 675 times)
bellajbadr (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
October 24, 2016, 01:15:14 PM
 #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.
cr1776
Legendary
*
Offline Offline

Activity: 4214
Merit: 1313


View Profile
October 24, 2016, 02:00:51 PM
Merited by ABCbits (1)
 #2

Did you look at this one?:
https://en.bitcoin.it/wiki/Bitcoin_Core_0.11_(ch_2):_Data_Storage
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!