Bitcoin Forum
July 28, 2024, 03:27:10 AM *
News: Help 1Dq create 15th anniversary forum artwork.
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: What data storage does Bitcoin core use?  (Read 527 times)
tyz (OP)
Legendary
*
Offline Offline

Activity: 3360
Merit: 1533



View Profile
September 30, 2016, 08:17:25 PM
Merited by ABCbits (1)
 #1

I researched for a blog post which database Bitcoin core use to store data. I found two contradictory sources.
The one says that the core uses LevelDB, the other says SQLite. What is right?  Roll Eyes
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3458
Merit: 6793


Just writing some code


View Profile WWW
September 30, 2016, 08:38:52 PM
Merited by tyz (3), ABCbits (1)
 #2

Bitcoin Core uses LevelDB databases for the block indices. It uses Berkeley DB for the wallet. The actual Blocks themselves are just stored in the raw format that they are received with.

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!