I will offer a 4000 btdx bounty for anyone who can write a step by step process of how to set up a masternode on the new BTDX wallet
Ubuntu Masternode Wallet Setup - Hot MN
Start Ubuntu 14.04 Image connect via Putty
----------------
apt-get update
apt-get dist-upgrade
Setup Swapfile
----------------
dd if=/dev/zero of=/mnt/myswap.swap bs=1M count=1000
mkswap /mnt/myswap.swap
swapon /mnt/myswap.swap
Install Addons :
----------------
apt-get install build-essential libtool autotools-dev autoconf pkg-config libssl-dev
apt-get install libboost-all-dev git npm nodejs nodejs-legacy libminiupnpc-dev redis-server
add-apt-repository ppa:bitcoin/bitcoin
apt-get update
apt-get install libdb4.8-dev libdb4.8++-dev
curl
https://raw.githubusercontent.com/creationix/nvm/v0.16.1/install.sh | sh
source ~/.profile
nvm install 0.10.25
nvm use 0.10.25
Install BitSend:
----------------
cd
git clone
https://github.com/LIMXTEC/Bitcloud.gitcd Bitcloud
sudo ./autogen.sh
sudo ./configure
sudo make
cd /home/YOUR USERNAME/.bitcloud
nano bitcloud.conf
Edit Config :
rpcuser=USERNAME
rpcpassword= PASS
rpcallowip=127.0.0.1
rpcport=8329
daemon=1
server=1
masternode=0
masternodeprivkey=
masternodeaddr=127.0.0.1:8329
cd Bitcloud/src/
./bitcloudd
Afer some time you can check your connection with
./bitcloud-cli getinfo
Output should look like :
{
"version" : 2000001,
"protocolversion" : 70712,
"walletversion" : 61000,
"balance" : 0.00000000,
"Darksend_balance" : 0.00000000,
"blocks" : 2405,
"timeoffset" : 0,
"connections" : 12,
"proxy" : "",
"difficulty" : 231814.22107527,
"testnet" : false,
"keypoololdest" : 1503083590,
"keypoolsize" : 1001,
"paytxfee" : 0.00000000,
"relayfee" : 0.00010000,
"staking status" : "Staking Not Active",
"errors" : ""
}
./bitcloud-cli getinfo getaccountaddress 0
This Address need the VIN = 10000 Coins
./bitcloud-cli getinfo masternode genkey
cd /home/YOUR USERNAME/.bitcloud
nano bitcloud.conf
Edit Config :
masternodeprivkey=
./bitcloud-cli getinfo
Check your Balance and restart your Server when money arrived.
./bitcloud-cli stop
./bitcloudd
15 Confirms later check it with
./bitcloud-cli masternode debug
Have Fun with your Masternode
, Bounty Wallet : B8h8ZtH6dkUgRoqJoEGzaN8YBQyafFr9HA
First, good job on the writeup. A couple of points. Why are you installing nodejs, rvm, and redis? None of those are needed.
I would also add monit (apt-get install monit) and configure it to monitor your mn:
check process bitcloudd with pidfile /opt/coins/Bitcloud/run/bitcloudd.pid
start program = "/opt/user/Bitcloud/control/start-bitcloudd.sh"
as uid user and gid user
stop program = "/opt/user/Bitcloud/control/stop-bitcloudd.sh"
as uid user and gid user
if failed host 127.0.0.1 port 8329 for 10 cycles then restart
if 5 restarts within 50 cycles then timeout
group coins
Then have something like this for start/stop:
#!/bin/bash
cd /opt/user/Bitcloud/bin/
./bitcloudd -conf=/home/user/.bitcloud/bitcloud.conf -datadir=/home/user/.bitcloud -pid=/opt/coins/Bitcloud/run/bitcloudd.pid -logtimestamps
#!/bin/bash
cd /opt/user/Bitcloud/bin
./bitcloud-cli -conf=/home/user/.bitcloud/bitcloud.conf -datadir=/home/user/.bitcloud stop