Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: wanda69 on December 25, 2020, 06:15:00 PM



Title: configure Bitcoin Core to use another database instead of Berkeley
Post by: wanda69 on December 25, 2020, 06:15:00 PM
hi,

i was wondering how i can configure bitcoin core to use a postgreSQL database instead of a Berkeley DB or if thats even possible. I dont like Oracle.

Thanks,
wanda


Title: Re: configure Bitcoin Core to use another database instead of Berkeley
Post by: NotATether on December 25, 2020, 09:17:52 PM
There's no way to change the database format used in the wallet file. In fact, for compatibility reasons the wallet file is even pinned to an old version of Berkeley DB (4.8 I think).


Title: Re: configure Bitcoin Core to use another database instead of Berkeley
Post by: achow101 on December 26, 2020, 06:16:04 AM
No, you cannot. Bitcoin Core 0.21 allows you to use SQLite for some wallets. But if you want to use another database system, you would have to implement integration with that yourself. Thankfully everything has been encapsulated enough that it shouldn't be terribly hard to do that.