@@ -19,7 +19,7 @@ Then install [Homebrew](https://brew.sh).
19
19
20
20
## Dependencies
21
21
``` shell
22
- brew install automake berkeley-db4 libtool boost miniupnpc pkg-config python qt libevent qrencode sqlite
22
+ brew install automake libtool boost miniupnpc pkg-config python qt libevent qrencode
23
23
```
24
24
25
25
If you run into issues, check [ Homebrew's troubleshooting page] ( https://docs.brew.sh/Troubleshooting ) .
@@ -30,7 +30,22 @@ If you want to build the disk image with `make deploy` (.dmg / optional), you ne
30
30
brew install librsvg
31
31
```
32
32
33
- ## Berkeley DB
33
+ The wallet support requires one or both of the dependencies ([ * SQLite* ] ( #sqlite ) and [ * Berkeley DB* ] ( #berkeley-db ) ) in the sections below.
34
+ To build Bitcoin Core without wallet, see [ * Disable-wallet mode* ] ( #disable-wallet-mode ) .
35
+
36
+ #### SQLite
37
+
38
+ Usually, macOS installation already has a suitable SQLite installation.
39
+ Also, the Homebrew package could be installed:
40
+
41
+ ``` shell
42
+ brew install sqlite
43
+ ```
44
+
45
+ In that case the Homebrew package will prevail.
46
+
47
+ #### Berkeley DB
48
+
34
49
It is recommended to use Berkeley DB 4.8. If you have to build it yourself,
35
50
you can use [ this] ( /contrib/install_db4.sh ) script to install it
36
51
like so:
@@ -41,7 +56,11 @@ like so:
41
56
42
57
from the root of the repository.
43
58
44
- ** Note** : You only need Berkeley DB if the wallet is enabled (see [ * Disable-wallet mode* ] ( /doc/build-osx.md#disable-wallet-mode ) ).
59
+ Also, the Homebrew package could be installed:
60
+
61
+ ``` shell
62
+ brew install berkeley-db4
63
+ ```
45
64
46
65
## Build Bitcoin Core
47
66
@@ -72,14 +91,14 @@ from the root of the repository.
72
91
make deploy
73
92
` ` `
74
93
75
- # # `disable -wallet` mode
94
+ # # Disable -wallet mode
76
95
When the intention is to run only a P2P node without a wallet, Bitcoin Core may be
77
- compiled in ` disable-wallet` mode with:
96
+ compiled in disable-wallet mode with:
78
97
` ` ` shell
79
98
./configure --disable-wallet
80
99
` ` `
81
100
82
- In this case there is no dependency on Berkeley DB 4.8 and SQLite.
101
+ In this case there is no dependency on [ * Berkeley DB* ]( # berkeley-db) and [* SQLite*](#sqlite) .
83
102
84
103
Mining is also possible in disable-wallet mode using the ` getblocktemplate` RPC call.
85
104
0 commit comments