@@ -19,13 +19,27 @@ Then install [Homebrew](https://brew.sh).
19
19
20
20
## Dependencies
21
21
``` shell
22
- brew install automake berkeley-db4 libtool boost gmp miniupnpc pkg-config python qt libevent libnatpmp qrencode sqlite
22
+ brew install automake libtool boost gmp miniupnpc pkg-config python qt libevent libnatpmp qrencode
23
23
```
24
24
25
25
If you run into issues, check [ Homebrew's troubleshooting page] ( https://docs.brew.sh/Troubleshooting ) .
26
26
See [ dependencies.md] ( dependencies.md ) for a complete overview.
27
27
28
- ## Berkeley DB
28
+ The wallet support requires one or both of the dependencies ([ * SQLite* ] ( #sqlite ) and [ * Berkeley DB* ] ( #berkeley-db ) ) in the sections below.
29
+ To build Dash Core without wallet, see [ * Disable-wallet mode* ] ( #disable-wallet-mode ) .
30
+
31
+ #### SQLite
32
+
33
+ Usually, macOS installation already has a suitable SQLite installation.
34
+ Also, the Homebrew package could be installed:
35
+
36
+ ``` shell
37
+ brew install sqlite
38
+ ```
39
+
40
+ In that case the Homebrew package will prevail.
41
+
42
+ #### Berkeley DB
29
43
30
44
It is recommended to use Berkeley DB 4.8. If you have to build it yourself,
31
45
you can use [ the installation script included in contrib/] ( contrib/install_db4.sh )
@@ -37,7 +51,11 @@ like so:
37
51
38
52
from the root of the repository.
39
53
40
- ** Note** : You only need Berkeley DB if the wallet is enabled (see the section * Disable-Wallet mode* below).
54
+ Also, the Homebrew package could be installed:
55
+
56
+ ``` shell
57
+ brew install berkeley-db4
58
+ ```
41
59
42
60
## Build Dash Core
43
61
@@ -68,14 +86,14 @@ from the root of the repository.
68
86
make deploy
69
87
` ` `
70
88
71
- # # `disable -wallet` mode
89
+ # # Disable -wallet mode
72
90
When the intention is to run only a P2P node without a wallet, Dash Core may be
73
- compiled in ` disable-wallet` mode with:
91
+ compiled in disable-wallet mode with:
74
92
` ` ` shell
75
93
./configure --disable-wallet
76
94
` ` `
77
95
78
- In this case there is no dependency on Berkeley DB 4.8 and SQLite.
96
+ In this case there is no dependency on [ * Berkeley DB* ]( # berkeley-db) and [* SQLite*](#sqlite) .
79
97
80
98
Mining is also possible in disable-wallet mode using the ` getblocktemplate` RPC call.
81
99
0 commit comments