Bitcoin Forum
June 22, 2024, 04:36:18 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: What data storage does Bitcoin core use?  (Read 525 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: 3430
Merit: 6720


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!