From a6f16f1b1ac76e473c134c5f2e5e085649635465 Mon Sep 17 00:00:00 2001
From: Michael Goldstein <michael@bitstein.org>
Date: Wed, 5 Sep 2018 13:57:47 -0500
Subject: [PATCH] Docs: Add disable-wallet section to OSX build instructions

---
 doc/build-osx.md | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/doc/build-osx.md b/doc/build-osx.md
index 448918e8c..bc93401bd 100644
--- a/doc/build-osx.md
+++ b/doc/build-osx.md
@@ -64,6 +64,18 @@ Build Bitcoin Core
 
         make deploy
 
+Disable-wallet mode
+--------------------
+When the intention is to run only a P2P node without a wallet, Bitcoin Core may be compiled in
+disable-wallet mode with:
+
+    ./configure --disable-wallet
+
+In this case there is no dependency on Berkeley DB 4.8.
+
+Mining is also possible in disable-wallet mode, but only using the `getblocktemplate` RPC
+call not `getwork`.
+
 Running
 -------