Last active
May 4, 2023 07:33
-
-
Save raffecat/edbb10ec785f4b85851bbe917839db7d to your computer and use it in GitHub Desktop.
Build Dogecoin Core on Ubuntu Jammy 22.04 (WSL2)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt update | |
sudo apt upgrade | |
git clone [email protected]:dogecoin/dogecoin.git | |
cd dogecoin | |
sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils | |
sudo apt-get install libminiupnpc-dev | |
sudo apt-get install libzmq3-dev | |
./autogen.sh | |
./configure --with-pic --enable-hardening --disable-wallet --without-gui --enable-upnp-default | |
make -j8 | |
make check | |
Options used to compile and link: | |
with wallet = no | |
with gui / qt = no | |
with zmq = yes | |
with test = yes | |
with bench = yes | |
with upnp = yes | |
debug enabled = no | |
werror = no | |
target os = linux | |
build os = | |
CC = gcc | |
CFLAGS = -g -O2 | |
CPPFLAGS = -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS | |
CXX = g++ -std=c++11 | |
CXXFLAGS = -g -O2 -Wall -Wextra -Wformat -Wvla -Wformat-security -Wno-unused-parameter | |
LDFLAGS = | |
# ~/.dogecoin/dogecoin.conf | |
daemon=1 | |
listen=1 | |
bind=172.26.182.23 | |
txindex=1 | |
# JSON-RPC | |
server=1 | |
rpcbind=172.26.182.23 | |
rpcuser=xxxxxxxxx | |
rpcpassword=yyyyyyyyy | |
rpcport=22555 | |
rpcallowip=0.0.0.0/0 | |
# ZMQ | |
zmqpubhashtx=tcp://0.0.0.0:28332 | |
zmqpubhashblock=tcp://0.0.0.0:28332 | |
zmqpubrawblock=tcp://0.0.0.0:28332 | |
zmqpubrawtx=tcp://0.0.0.0:28332 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment