From 72492c9b393d7eb5838437985ef2fd8b12a6f42f Mon Sep 17 00:00:00 2001 From: wiz Date: Sun, 3 Jul 2022 15:27:11 +0200 Subject: [PATCH] Enable zmq for bitcoind, fix ./configure opts --- production/bitcoin.conf | 2 ++ production/install | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/production/bitcoin.conf b/production/bitcoin.conf index 9a46a63ad..4cb95eacc 100644 --- a/production/bitcoin.conf +++ b/production/bitcoin.conf @@ -22,6 +22,8 @@ bind=0.0.0.0:8333 bind=[::]:8333 rpcbind=127.0.0.1:8332 rpcbind=[::1]:8332 +zmqpubrawblock=tcp://127.0.0.1:18332 +zmqpubrawtx=tcp://127.0.0.1:18333 #addnode=[2401:b140:2::92:201]:8333 #addnode=[2401:b140:2::92:202]:8333 #addnode=[2401:b140:2::92:203]:8333 diff --git a/production/install b/production/install index f715526c0..2ab25ac97 100755 --- a/production/install +++ b/production/install @@ -330,7 +330,7 @@ DEBIAN_PKG+=(nodejs npm mariadb-server nginx-core python-certbot-nginx rsync ufw # packages needed for mempool ecosystem FREEBSD_PKG=() FREEBSD_PKG+=(zsh sudo git screen curl wget calc neovim) -FREEBSD_PKG+=(openssh-portable py38-pip rust llvm90 jq base64) +FREEBSD_PKG+=(openssh-portable py38-pip rust llvm90 jq base64 libzmq4) FREEBSD_PKG+=(boost-libs autoconf automake gmake gcc libevent libtool pkgconf) FREEBSD_PKG+=(nginx rsync py38-certbot-nginx mariadb105-server keybase) @@ -921,7 +921,7 @@ if [ "${BITCOIN_INSTALL}" = ON ];then echo "[*] Building Bitcoin from source repo" osSudo "${BITCOIN_USER}" sh -c "cd ${BITCOIN_REPO_NAME} && ./autogen.sh --quiet" - osSudo "${BITCOIN_USER}" sh -c "cd ${BITCOIN_REPO_NAME} && MAKE=gmake CPPFLAGS=-I/usr/local/include ./configure --with-gui=no --disable-wallet --disable-tests" + osSudo "${BITCOIN_USER}" sh -c "cd ${BITCOIN_REPO_NAME} && MAKE=gmake CC=cc CXX=c++ CPPFLAGS=-I/usr/local/include ./configure --with-gui=no --disable-wallet --disable-tests" osSudo "${BITCOIN_USER}" sh -c "cd ${BITCOIN_REPO_NAME} && gmake -j48" echo "[*] Installing Bitcoin binaries into OS"