Skip to content

Instantly share code, notes, and snippets.

@awitherow
Last active January 25, 2018 23:02
Show Gist options
  • Save awitherow/b7c3735e8221f68be5bb7be9b479cac5 to your computer and use it in GitHub Desktop.
Save awitherow/b7c3735e8221f68be5bb7be9b479cac5 to your computer and use it in GitHub Desktop.
buzz compiling related stuff.

making a linux wallet

dependencies and repo

sudo apt-get install libdb-dev libdb++-dev
sudo apt-get install build-essential libtool autotools-dev autoconf pkg-config libssl-dev libboost-all-dev libminiupnpc-dev automake
mkdir src
git clone https://github.com/buzzcoin-project/BUZZ.git

# git checkout BRANCH_NAME

cd BUZZ/src
make -f makefile.unix all

./buzzcoin &

setting up the config

vi ~/.buzzcoin/buzzcoin.conf
rpcuser=USER
rpcpassword=PASSWORD

# testnet

rpcallowip=127.0.0.1
listen=1
server=1
testnet=1
debug=


addnode=XXX.XX.XXX.XX:PORT

building the wallet

rm -rf ~/.buzzcoin/testnet

mining

./minerd -a sha256d -o http://127.0.0.1:20115 -O USER:PASS -t 1 # user/pass from buzzcoin.conf

compiling

"bug" - you are out of memory for current make

g++: internal compiler error: Killed (program cc1plus)

fix - add some swap space.

sudo dd if=/dev/zero of=/swapfile bs=64M count=16
sudo mkswap /swapfile
sudo swapon /swapfile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment