<p>BerkeleyDB support  ACID (Atomicity, Consistency, Isolation, Durability). Leveldb no ACID, I think this is the main reason using BerkeleyDB.</p>

CC BY-SA 4.0
2018-05-17T07:48:00.730Z
2018-05-17T07:48:00.730Z
bitaps.com
<p>Why wasn't <code>wallet.dat</code> migrated to LevelDB?</p>

<p>Is it because</p>

<ul>
<li>BerkeleyDB is better at [something]</li>
<li>Backwards compatibility</li>
</ul>

CC BY-SA 4.0
2020-03-15T19:38:50.340Z
Since you use the word "migrated", it seems that you are aware that LevelDB was not a very popular choice in 2010.
Janus Troelsen
<wallet.dat><leveldb><datadir>
Why is wallet.dat BerkeleyDB instead of LevelDB?
MCCCS
# Why is wallet.dat BerkeleyDB instead of LevelDB?

(Asked by: username_0 on 2018-05-14)

Why wasn't `wallet.dat` migrated to LevelDB?

Is it because

* BerkeleyDB is better at [something]
* Backwards compatibility

**Tags:** wallet.dat, leveldb, datadir

> **Comments:**
> **username_1**: Since you use the word "migrated", it seems that you are aware that LevelDB was not a very popular choice in 2010.  

---

## 1 answers

### Answer by username_2 on 2018-05-17. Score: 1 | Accepted answer

BerkeleyDB support ACID (Atomicity, Consistency, Isolation, Durability). Leveldb no ACID, I think this is the main reason using BerkeleyDB.


---

