Skip to content

Commit ff8c39d

Browse files
fanquakeknst
authored andcommitted
Merge bitcoin#24600: doc: mention that BDB is for the legacy wallet in build-freebsd.md
b5ba3b5 doc: mention that BDB is for the legacy wallet in build-freebsd.md (fanquake) Pull request description: Re-order legacy and descriptor wallet section. Remove prelude that pointlessly repeats the same info. Cleanup configure examples. FreeBSD version of bitcoin#23446. ACKs for top commit: shaavan: ACK b5ba3b5 Tree-SHA512: ed85acee5c1b933b57d038d144768da1c4b1f1cfd441d9191353b82d50af16adb10aabb3b4661dc9aee54405ab3af2b800e39f9973261a041b2cf0db8675b5c4
1 parent 504918f commit ff8c39d

File tree

1 file changed

+23
-19
lines changed

1 file changed

+23
-19
lines changed

doc/build-freebsd.md

Lines changed: 23 additions & 19 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 dashd, command-line utilities, and GUI on FreeBSD.
66

@@ -30,22 +30,23 @@ git clone https://github.com/dashpay/dash.git
3030
pkg install gmp
3131
```
3232

33-
#### Wallet Dependencies
34-
It is not necessary to build wallet functionality to run dashd or the GUI. To enable legacy wallets, you must install `db5`. To enable [descriptor wallets](https://github.com/dashpay/dash/blob/master/doc/descriptors.md), `sqlite3` is required. Skip `db5` if you intend to *exclusively* use descriptor wallets
35-
36-
###### Legacy Wallet Support
37-
`db5` is required to enable support for legacy wallets. Skip if you don't intend to use legacy wallets
38-
39-
```bash
40-
pkg install db5
41-
```
33+
It is not necessary to build wallet functionality to run either `dashd` or `dash-qt`.
4234

4335
###### Descriptor Wallet Support
4436

45-
`sqlite3` is required to enable support for descriptor wallets. Skip if you don't intend to use descriptor wallets.
37+
`sqlite3` is required to support [descriptor wallets](descriptors.md).
38+
Skip if you don't intend to use descriptor wallets.
4639
``` bash
4740
pkg install sqlite3
4841
```
42+
43+
###### Legacy Wallet Support
44+
`db5` is only required to support legacy wallets.
45+
Skip if you don't intend to use legacy wallets.
46+
47+
```bash
48+
pkg install db5
49+
```
4950
---
5051

5152
#### GUI Dependencies
@@ -85,8 +86,17 @@ pkg install python3 databases/py-sqlite3
8586
### 1. Configuration
8687

8788
There are many ways to configure Dash Core, here are a few common examples:
88-
##### Wallet (BDB + SQlite) Support, No GUI:
89-
This explicitly enables legacy wallet support and disables the GUI. If `sqlite3` is installed, then descriptor wallet support will be built.
89+
90+
##### Descriptor Wallet and GUI:
91+
This explicitly enables the GUI and disables legacy wallet support, assuming `sqlite` and `qt` are installed.
92+
```bash
93+
./autogen.sh
94+
./configure --without-bdb --with-gui=yes MAKE=gmake
95+
```
96+
97+
##### Descriptor & Legacy Wallet. No GUI:
98+
This enables support for both wallet types and disables the GUI, assuming
99+
`sqlite3` and `db5` are both installed.
90100
```bash
91101
./autogen.sh
92102
./configure --with-gui=no --with-incompatible-bdb \
@@ -95,12 +105,6 @@ This explicitly enables legacy wallet support and disables the GUI. If `sqlite3`
95105
MAKE=gmake
96106
```
97107

98-
##### Wallet (only SQlite) and GUI Support:
99-
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.
100-
```bash
101-
./autogen.sh
102-
./configure --without-bdb --with-gui=yes MAKE=gmake
103-
```
104108
##### No Wallet or GUI
105109
``` bash
106110
./autogen.sh

0 commit comments

Comments
 (0)