Answers
Accepted Answer

Accepted: There are no binaries, but one can compile it manually

It is true that there are no official binaries available, but one can compile it manually. There are a few tweaks that need to be done to the code in order for compiler to suceed:

  1. Install xcode command line tools:
xcode-select --install
  1. Install brew.
  2. Install build dependencies:
brew install automake libtool boost miniupnpc openssl pkg-config protobuf python qt libevent qrencode
  1. Install BerkleyDB (find the version of the BerkleyDB in the output and remember it for the build step - was “18.1.32_1” in my case):
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/master/Formula/berkeley-db.rb
  1. Get Bitcoin SV source (by checking out git repository, downloading tarball, …).
  2. Add missing headers (as of Oct 24th 2019, supposed to be fixed in 0.2.2, but the code has not been made public yet):
diff --git a/src/init.cpp b/src/init.cpp
index 6dc8b6132..c1ad51e0f 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -21,6 +21,7 @@
 #include "fs.h"
 #include "httprpc.h"
 #include "httpserver.h"
+#include "inttypes.h"
 #include "key.h"
 #include "mining/legacy.h"
 #include "net.h"
diff --git a/src/rpc/misc.cpp b/src/rpc/misc.cpp
index 615fb38b2..387fd7187 100644
--- a/src/rpc/misc.cpp
+++ b/src/rpc/misc.cpp
@@ -18,14 +18,15 @@
 #include "util.h"
 #include "utilstrencodings.h"
 #include "validation.h"
+
 #ifdef ENABLE_WALLET
 #include "wallet/rpcwallet.h"
 #include "wallet/wallet.h"
 #include "wallet/walletdb.h"
-#include "vmtouch.h"
-
 #endif
 
+#include "vmtouch.h"
+
 #include <univalue.h>
 
 #include <cstdint>
  1. Bump C++ standard for the bundled univalue library (See pull request.)
  2. Build the software (replace “18.1.32_1” with the version of BerkleyDB) by running the following in the root folder of the source:
./autogen.sh
./configure --without-gui LDFLAGS="-L/usr/local/Cellar/berkeley-db/18.1.32_1/lib" CPPFLAGS="-I/usr/local/Cellar/berkeley-db/18.1.32_1/include"
make
  1. Assuming that the compilation completed without errors you will be able to find binaries in ./src (i.e. ./src/bitcoind, ./src/bitcoin-cli, …)
  2. Now you can use make check to run the test suite and make deploy to install the software.

You can't. It's only available on Linux.

You can check the downloads on the project website here.

Downloads link: https://download.bitcoinsv.io/bitcoinsv/

I believe it was in a conference video or maybe on social media, when I heard, I believe it was Shadders or maybe CSW saying that the reason why was for enterprise-level scaling, it it no longer part of the roadmap to support home computer (Mac / PC) Bitcoin mining.

Optionally use GitPod.IO

I forked Bitcoin-SV to add GitPod.IO support so you can spin up a node in record time.

Just click https://gitpod.io/#https://github.com/auxon/bitcoin-sv to spin up a node with one click, wait a bit, then just run:

make make install

From your terminal. I am going to update it so it runs the final 2 steps in another branch and starts syncing.

For local development, you already got an answer above. However, all the steps can be automated for MacOS local development as well.

HTH,

RAH

Docker

It’s easy, you run it inside (Ubuntu) docker.

However, I see no point in running a Bitcoin SV node software on a MacOS.

You are creating this answer as an anonymous user. If you log in we will be able to store the draft as you write it.

Submit an Answer

By swiping I acknowledge that the answer will be immutably stored on the Bitcoin SV blockchain forever and that I take full responsibility for any legal or other consequences that might be related to that.
Made with in Slovenia.