doc: update wallet build instruction

Sqlite is expected to be installed, but can still be opted out of.
This commit is contained in:
Sjors Provoost committed 2025-08-12 19:39:07 +02:00
1 parent ec484bd5ce
commit 67e186deb0
5 files changed
+41 -55

No files matched your search

+9 -12
View File
@@ -13,6 +13,14 @@ Run the following as root to install the base dependencies for building.
pkg install boost-libs cmake git libevent pkgconf
```
SQLite is required for the wallet:
```bash
pkg install sqlite3
```
To build Bitcoin Core without the wallet, use `-DENABLE_WALLET=OFF`.
See [dependencies.md](dependencies.md) for a complete overview.
### 2. Clone Bitcoin Repo
@@ -23,17 +31,6 @@ git clone https://github.com/bitcoin/bitcoin.git
### 3. Install Optional Dependencies
#### Wallet Dependencies
It is not necessary to build wallet functionality to run either `bitcoind` or `bitcoin-qt`.
###### Descriptor Wallet Support
`sqlite3` is required to support [descriptor wallets](descriptors.md).
Skip if you don't intend to use descriptor wallets.
```bash
pkg install sqlite3
```
#### GUI Dependencies
###### Qt6
@@ -79,7 +76,7 @@ pkg install python3 databases/py-sqlite3 net/py-pyzmq
There are many ways to configure Bitcoin Core, here are a few common examples:
##### Descriptor Wallet and GUI:
##### Wallet and GUI:
This enables the GUI, assuming `sqlite` and `qt` are installed.
```bash
cmake -B build -DBUILD_GUI=ON