Magnet Masternode Setup Notes

in #magnet7 years ago (edited)

Magnet Masternode Setup Notes

Ubuntu Server 14

Setup 1-liner:

apt-get update;apt-get upgrade -y;apt-get dist-upgrade -y;apt-get install nano htop git -y;apt-get install build-essential libtool autotools-dev automake pkg-config -y;apt-get install libssl-dev libevent-dev bsdmainutils software-properties-common -y;apt-get install libboost-all-dev -y;apt-get install libzmq3-dev libminiupnpc-dev libssl-dev libevent-dev -y;add-apt-repository ppa:bitcoin/bitcoin -y;apt-get update;apt-get install libdb4.8-dev libdb4.8++-dev -y;apt-get install unrar -y;apt-get install libgmp3-dev -y;adduser magnet;su magnet

Compile 1-liner:

cd ~;git clone https://github.com/magnetwork/magnet.git MAGNET;cd MAGNET/src/leveldb;chmod +x build_detect_platform;make libleveldb.a libmemenv.a;cd ..;make -f makefile.unix;strip magnetd;mkdir ~/magnet;cp magnetd ~/magnet/;cd ~;mkdir .magnet;cd .magnet;nano magnet.conf

(paste in config)

rpcuser=
rpcpassword=
rpcallowip=127.0.0.1
rpcport=17179
listen=1
server=1
daemon=1

masternode=1
masternodeprivkey=
externalip=

addnode=35.195.167.40:17177
addnode=35.199.188.194:17177
addnode=104.196.155.39:17177
addnode=35.197.228.109:17177
addnode=35.198.35.45:17177
addnode=35.197.145.93:17177
addnode=35.199.1.114:17177
addnode=35.201.4.254:17177
addnode=35.188.240.39:17177
addnode=35.199.48.8:17177
addnode=146.148.79.31:17177
addnode=104.196.202.240:17177
addnode=35.195.122.245:17177
addnode=35.198.82.29:17177
addnode=35.200.247.198:17177
addnode=35.200.22.69:17177
addnode=35.201.14.20:17177
addnode=35.198.23.18:17177
addnode=104.199.194.138:17177
addnode=35.185.189.143:17177


crontab -e
@reboot /home/magnet/magnet/magnetd

Other notes:

Masternode private key command (run in the debug console on your local wallet for security):
masternode genkey

Get valid masternode coin stacks (must be exactly 10000.0) (run in debug on local wallet)
masternode outputs

You will see a masternode error occasionally, during list updates. It takes 15-30 minutes for the status to fully update. Check the total reported masternodes. Close and reopen your local wallet if it still hasn't updated after that.

Avoid restarting the masternodes or resending the Start command via the wallet unnecessarily, as that resets all the various timers.

Optional: Exclude RPC settings from config for security, Sentinel is not yet implemented in Magnet.

BTC Donations: 1TKPnVa9qFazEY5RLwDkGM3XwcFa8BqvC
MAG Donations: MszWKg48pn74MjN5Q96Je2Ujk232c85fhb

I'd like to set up a Masternode for GoByte (GBX)
Donations are welcome!
GBX: GgUA7XimjG79qVudKZfxbfJABX2tDpRXP1

Sort:  

good writing. I like your post.

where did you get these instructions from?

디렉토리.PNG

No such file or directory Why??

입력.PNG

IP The letters on the top go missing