doc: clarify that BDB is only required for the legacy wallet

This commit is contained in:
fanquake 2022-03-18 10:27:49 +00:00
parent a17df4e876
commit 307215b6c5
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1

View file

@ -209,7 +209,7 @@ from the root of the repository.
Otherwise, you can build Bitcoin Core from self-compiled [depends](/depends/README.md). Otherwise, you can build Bitcoin Core from self-compiled [depends](/depends/README.md).
**Note**: You only need Berkeley DB if the wallet is enabled (see [*Disable-wallet mode*](#disable-wallet-mode)). **Note**: You only need Berkeley DB if the legacy wallet is enabled (see [*Disable-wallet mode*](#disable-wallet-mode)).
Security Security
-------- --------
@ -259,12 +259,12 @@ Hardening enables the following features:
Disable-wallet mode Disable-wallet mode
-------------------- --------------------
When the intention is to run only a P2P node without a wallet, Bitcoin Core may be compiled in When the intention is to only run a P2P node, without a wallet, Bitcoin Core can
disable-wallet mode with: be compiled in disable-wallet mode with:
./configure --disable-wallet ./configure --disable-wallet
In this case there is no dependency on Berkeley DB 4.8 and SQLite. In this case there is no dependency on SQLite or Berkeley DB.
Mining is also possible in disable-wallet mode using the `getblocktemplate` RPC call. Mining is also possible in disable-wallet mode using the `getblocktemplate` RPC call.