Shugacoin Azula is released under the terms of the MIT license. See COPYING for more information or see https://opensource.org/licenses/MIT.
Exactly the same as dependencies of Bitcoin Core v0.16.3.
Ubuntu 20.04 (Recommended, No PPA)
sudo apt-get install -y \
software-properties-common build-essential libtool autotools-dev automake pkg-config \
libssl-dev libevent-dev bsdmainutils libboost-all-dev \
libminiupnpc-dev libzmq3-dev libqt5gui5 libqt5core5a \
libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev \
protobuf-compiler libqrencode-dev help2man
PPA is only for Ubuntu. No libdb4.8-dev
and libdb4.8++-dev
packages on Debian.
Ubuntu 20.04 (Recommended, No PPA)
./autogen.sh && \
./contrib/install_db4.sh `pwd` && \
export BDB_PREFIX=$PWD/db4 && \
./configure BDB_LIBS="-L${BDB_PREFIX}/lib -ldb_cxx-4.8" BDB_CFLAGS="-I${BDB_PREFIX}/include" && \
make -j$(nproc) && \
make check -j$(nproc)
(optional) Following can be deleted rm -rf db4/ && rm -f db-4.8.30.NC.tar.gz
(optional) Reduce binary size using strip (about 90% file size reduction)
strip ./src/shugacoin-cli && \
strip ./src/shugacoind && \
strip ./src/qt/shugacoin-qt && \
strip ./src/shugacoin-tx && \
strip ./src/test/test_shugacoin
(optional) After bump version on configure.ac
, update binary docs (manpages) using help2man .1
files
make -j$(nproc) && ./contrib/devtools/gen-manpages.sh
(optional) build for Windows and OSX you may need --disable-shared
option with make.
(optional) Add seeds/nodes from DNSSEED
https://github.com/shugacoin-project/shugacoin/tree/main/contrib/seeds
The options -rpcuser
, -rpcpassword
, and -printtoconsole
are optional. server=1
needed by RPC servers or cpuminer when solo-mining.
Mainnet: debug mode: net
for Network
./src/qt/shugacoin-qt -server=1 -rpcuser=rpcuser -rpcpassword=rpcpassword -debug=net -printtoconsole
Testnet
./src/qt/shugacoin-qt -testnet
Regtest
./src/qt/shugacoin-qt -regtest
Reference
https://en.bitcoin.it/w/index.php?title=Running_Bitcoin&oldid=66644
-prunedebuglogfile
: Prune (limit) filesize of debug.log
./src/qt/shugacoin-qt -prunedebuglogfile
2020-09-15 19:41:34 DEBUG.LOG PRUNED at 10000063