Skip to content

Commit b5ba3b5

Browse files
committed
doc: mention that BDB is for the legacy wallet in build-freebsd.md
Re-order legacy and descriptor wallet section. Remove prelude that pointlessly reqpeats the same info. Cleanup configure examples.
1 parent bc562b9 commit b5ba3b5

File tree

1 file changed

+23
-18
lines changed

1 file changed

+23
-18
lines changed

doc/build-freebsd.md

Lines changed: 23 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# FreeBSD Build Guide
22

3-
**Updated for FreeBSD [12.2](https://www.freebsd.org/releases/12.2R/announce.html)**
3+
**Updated for FreeBSD [12.3](https://www.freebsd.org/releases/12.3R/announce/)**
44

55
This guide describes how to build bitcoind, command-line utilities, and GUI on FreeBSD.
66

@@ -25,21 +25,23 @@ git clone https://github.com/bitcoin/bitcoin.git
2525
### 3. Install Optional Dependencies
2626

2727
#### Wallet Dependencies
28-
It is not necessary to build wallet functionality to run bitcoind or the GUI. To enable legacy wallets, you must install `db5`. To enable [descriptor wallets](https://github.com/bitcoin/bitcoin/blob/master/doc/descriptors.md), `sqlite3` is required. Skip `db5` if you intend to *exclusively* use descriptor wallets
29-
30-
###### Legacy Wallet Support
31-
`db5` is required to enable support for legacy wallets. Skip if you don't intend to use legacy wallets
32-
33-
```bash
34-
pkg install db5
35-
```
28+
It is not necessary to build wallet functionality to run either `bitcoind` or `bitcoin-qt`.
3629

3730
###### Descriptor Wallet Support
3831

39-
`sqlite3` is required to enable support for descriptor wallets. Skip if you don't intend to use descriptor wallets.
32+
`sqlite3` is required to support [descriptor wallets](descriptors.md).
33+
Skip if you don't intend to use descriptor wallets.
4034
``` bash
4135
pkg install sqlite3
4236
```
37+
38+
###### Legacy Wallet Support
39+
`db5` is only required to support legacy wallets.
40+
Skip if you don't intend to use legacy wallets.
41+
42+
```bash
43+
pkg install db5
44+
```
4345
---
4446

4547
#### GUI Dependencies
@@ -79,8 +81,17 @@ pkg install python3
7981
### 1. Configuration
8082

8183
There are many ways to configure Bitcoin Core, here are a few common examples:
82-
##### Wallet (BDB + SQlite) Support, No GUI:
83-
This explicitly enables legacy wallet support and disables the GUI. If `sqlite3` is installed, then descriptor wallet support will be built.
84+
85+
##### Descriptor Wallet and GUI:
86+
This explicitly enables the GUI and disables legacy wallet support, assuming `sqlite` and `qt` are installed.
87+
```bash
88+
./autogen.sh
89+
./configure --without-bdb --with-gui=yes MAKE=gmake
90+
```
91+
92+
##### Descriptor & Legacy Wallet. No GUI:
93+
This enables support for both wallet types and disables the GUI, assuming
94+
`sqlite3` and `db5` are both installed.
8495
```bash
8596
./autogen.sh
8697
./configure --with-gui=no --with-incompatible-bdb \
@@ -89,12 +100,6 @@ This explicitly enables legacy wallet support and disables the GUI. If `sqlite3`
89100
MAKE=gmake
90101
```
91102

92-
##### Wallet (only SQlite) and GUI Support:
93-
This explicitly enables the GUI and disables legacy wallet support. If `qt5` is not installed, this will throw an error. If `sqlite3` is installed then descriptor wallet functionality will be built. If `sqlite3` is not installed, then wallet functionality will be disabled.
94-
```bash
95-
./autogen.sh
96-
./configure --without-bdb --with-gui=yes MAKE=gmake
97-
```
98103
##### No Wallet or GUI
99104
``` bash
100105
./autogen.sh

0 commit comments

Comments
 (0)