Bitcoin Forum
May 03, 2024, 01:53:38 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Reading the Bitcoin leveldb  (Read 664 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.
1714701218
Hero Member
*
Offline Offline

Posts: 1714701218

View Profile Personal Message (Offline)

Ignore
1714701218
Reply with quote  #2

1714701218
Report to moderator
1714701218
Hero Member
*
Offline Offline

Posts: 1714701218

View Profile Personal Message (Offline)

Ignore
1714701218
Reply with quote  #2

1714701218
Report to moderator
1714701218
Hero Member
*
Offline Offline

Posts: 1714701218

View Profile Personal Message (Offline)

Ignore
1714701218
Reply with quote  #2

1714701218
Report to moderator
"I'm sure that in 20 years there will either be very large transaction volume or no volume." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714701218
Hero Member
*
Offline Offline

Posts: 1714701218

View Profile Personal Message (Offline)

Ignore
1714701218
Reply with quote  #2

1714701218
Report to moderator
1714701218
Hero Member
*
Offline Offline

Posts: 1714701218

View Profile Personal Message (Offline)

Ignore
1714701218
Reply with quote  #2

1714701218
Report to moderator
cr1776
Legendary
*
Offline Offline

Activity: 4032
Merit: 1299


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!