@@ -42,12 +42,12 @@ Optional dependencies:
42
42
------------|------------------|----------------------
43
43
miniupnpc | UPnP Support | Firewall-jumping support
44
44
libnatpmp | NAT-PMP Support | Firewall-jumping support
45
- libdb4.8 | Berkeley DB | Optional, wallet storage (only needed when wallet enabled)
45
+ libdb4.8 | Berkeley DB | Optional, wallet storage (only needed when legacy wallet enabled)
46
46
qt | GUI | GUI toolkit (only needed when GUI enabled)
47
47
libqrencode | QR codes in GUI | Optional for generating QR codes (only needed when GUI enabled)
48
48
univalue | Utility | JSON parsing and encoding (bundled version will be used unless --with-system-univalue passed to configure)
49
49
libzmq3 | ZMQ notification | Optional, allows generating ZMQ notifications (requires ZMQ version >= 4.0.0)
50
- sqlite3 | SQLite DB | Optional, wallet storage (only needed when wallet enabled)
50
+ sqlite3 | SQLite DB | Optional, wallet storage (only needed when descriptor wallet enabled)
51
51
systemtap | Tracing (USDT) | Optional, statically defined tracepoints
52
52
53
53
For the versions used, see [ dependencies.md] ( dependencies.md )
@@ -85,19 +85,15 @@ Now, you can either build from self-compiled [depends](/depends/README.md) or in
85
85
86
86
sudo apt-get install libevent-dev libboost-dev libboost-system-dev libboost-filesystem-dev libboost-test-dev
87
87
88
- Berkeley DB is required for the wallet.
89
-
90
- Ubuntu and Debian have their own ` libdb-dev ` and ` libdb++-dev ` packages, but these will install
91
- Berkeley DB 5.1 or later. This will break binary wallet compatibility with the distributed executables, which
92
- are based on BerkeleyDB 4.8. If you do not care about wallet compatibility,
93
- pass ` --with-incompatible-bdb ` to configure.
94
-
95
- Otherwise, you can build Berkeley DB [ yourself] ( #berkeley-db ) .
96
-
97
88
SQLite is required for the descriptor wallet:
98
89
99
90
sudo apt install libsqlite3-dev
100
91
92
+ Berkeley DB is required for the legacy wallet. Ubuntu and Debian have their own ` libdb-dev ` and ` libdb++-dev ` packages,
93
+ but these will install Berkeley DB 5.1 or later. This will break binary wallet compatibility with the distributed
94
+ executables, which are based on BerkeleyDB 4.8. If you do not care about wallet compatibility, pass
95
+ ` --with-incompatible-bdb ` to configure. Otherwise, you can build Berkeley DB [ yourself] ( #berkeley-db ) .
96
+
101
97
To build Bitcoin Core without wallet, see [ * Disable-wallet mode* ] ( #disable-wallet-mode )
102
98
103
99
Optional port mapping libraries (see: ` --with-miniupnpc ` , ` --enable-upnp-default ` , and ` --with-natpmp ` , ` --enable-natpmp-default ` ):
@@ -146,20 +142,18 @@ Now, you can either build from self-compiled [depends](/depends/README.md) or in
146
142
147
143
sudo dnf install libevent-devel boost-devel
148
144
149
- Berkeley DB is required for the wallet:
145
+ SQLite is required for the descriptor wallet:
146
+
147
+ sudo dnf install sqlite-devel
148
+
149
+ Berkeley DB is required for the legacy wallet:
150
150
151
151
sudo dnf install libdb4-devel libdb4-cxx-devel
152
152
153
153
Newer Fedora releases, since Fedora 33, have only ` libdb-devel ` and ` libdb-cxx-devel ` packages, but these will install
154
154
Berkeley DB 5.3 or later. This will break binary wallet compatibility with the distributed executables, which
155
155
are based on Berkeley DB 4.8. If you do not care about wallet compatibility,
156
- pass ` --with-incompatible-bdb ` to configure.
157
-
158
- Otherwise, you can build Berkeley DB [ yourself] ( #berkeley-db ) .
159
-
160
- SQLite is required for the descriptor wallet:
161
-
162
- sudo dnf install sqlite-devel
156
+ pass ` --with-incompatible-bdb ` to configure. Otherwise, you can build Berkeley DB [ yourself] ( #berkeley-db ) .
163
157
164
158
To build Bitcoin Core without wallet, see [ * Disable-wallet mode* ] ( #disable-wallet-mode )
165
159
@@ -225,8 +219,10 @@ turned off by default. See the configure options for NAT-PMP behavior desired:
225
219
226
220
Berkeley DB
227
221
-----------
228
- It is recommended to use Berkeley DB 4.8. If you have to build it yourself,
229
- you can use [ the installation script included in contrib/] ( /contrib/install_db4.sh )
222
+
223
+ The legacy wallet uses Berkeley DB. To ensure backwards compatibility it is
224
+ recommended to use Berkeley DB 4.8. If you have to build it yourself, you can
225
+ use [ the installation script included in contrib/] ( /contrib/install_db4.sh )
230
226
like so:
231
227
232
228
``` shell
0 commit comments