Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: tyz on September 30, 2016, 08:17:25 PM



Title: What data storage does Bitcoin core use?
Post by: tyz on September 30, 2016, 08:17:25 PM
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?  ::)


Title: Re: What data storage does Bitcoin core use?
Post by: achow101 on September 30, 2016, 08:38:52 PM
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.