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

+10 -12
View File
@@ -13,6 +13,14 @@ Run the following as root to install the base dependencies for building.
pkg_add git cmake boost libevent
```
SQLite is required for the wallet:
```bash
pkg_add 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,16 +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`.
SQLite is required to build the wallet.
``` bash
pkg_add sqlite3
```
#### GUI Dependencies
###### Qt6
@@ -77,8 +75,8 @@ pkg_add python py3-zmq # Select the newest version of the python package if nec
There are many ways to configure Bitcoin Core, here are a few common examples:
##### Descriptor Wallet and GUI:
This enables descriptor wallet support and the GUI, assuming SQLite and Qt 6 are installed.
##### Wallet and GUI:
This enables wallet support and the GUI, assuming SQLite and Qt 6 are installed.
```bash
cmake -B build -DBUILD_GUI=ON