LINDA
Bitcointalk - https://bitcointalk.org/index.php?topic=2002111.0
Website - http://lindacoin.com/
Github - https://github.com/Lindacoin/Linda
Explorer - http://lindachain.com/
Linda is a new hybrid masternode coin that promises a great ROI, and supports PoW(Proof of Work) and PoS(Proof of Stake). I didn't see any guides for running a Linda masternode on linux, so I thought I'd write one up.
1. Install dependencies:
sudo apt-get install build-essential libtool automake autotools-dev autoconf pkg-config libssl-dev libgmp3-dev libevent-dev bsdmainutils
sudo apt-get install libboost-all-dev
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev
2. Create a swapfile:
Since we will be compiling the Lindad command line daemon, we will need a swapfile, or the compile process will run out of memory. This example will create a 2G sized swapfile which is optimal for a 1G VPS, but will also work for a 512MB VPS as well. This is how we create one:
sudo fallocate -l 2G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfileNow let's make this permanent so that if your VPS restarts, the swap will turn on automatically:
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab
3. Now let's get the Linda source and compile:
cd ~/
git clone https://github.com/Lindacoin/Linda
cd Linda/src
make -f makefile.unix
cp Lindad /usr/local/bin
4. Now that we have Lindad compiled, start it up and let it sync:
Lindad -daemon
This will take 2-6 hours to sync depending on your connection and proximity to other peers.
You can check on the progress of it by typing:
Lindad getinfo
And look for the "blocks" line. The latest block at the time of writing this was:
"blocks" : 83340,
5. While your wallet is syncing, let's create a new account address for address 0, and make a note of it:
Lindad getaccountaddress 0
6. Now send exactly 30000000 Linda to the address you just created.
Wait for 15 confirmations
7. While it's confirming, generate a masternode key, and make a note of it:
Lindad masternode genkey
8. Encrypt your wallet:
Lindad encryptwallet "your password"
***DO NOT LOSE THIS PASSWORD***
9. Now stop Linda so you can modify the config.
Lindad stop
10. Edit your config which you will find here:
~/.Linda/Linda.conf
Your config should be edited to look like this:
rpcuser=put-your-rpc-user-here
rpcpassword=put-your-rpc-password-here
rpcport=33821
rpcallowip=127.0.0.1
daemon=1
server=1
staking=0
listenonion=0
masternode=1
masternodeprivkey=put-your-masternode-key-that-you-generated-here
masternodeaddr=put-your-ip-address-of-vps-here:33820
addnode=104.238.159.161
addnode=45.32.77.164
11. Now make sure your VPS firewall has port 33820 open.
sudo apt-get install ufw
sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw allow ssh
sudo ufw allow 33820
sudo ufw enable
A warning will prompt you saying that your SSH connection will be disrupted. Since we allowed ssh above, you don't have to worry, but DO NOT forget to allow ssh or you will lock yourself out of your VM.
12. Start Linda again:
Lindad -daemon
13. Unencrypt your wallet:
Lindad walletpassphrase "the password you set above" 999999999
14. Check to make sure your 30000000 transaction has 15 confirmations:
Lindad listtransactions
15. If it does, start your masternode:
Lindad masternode start
You can check to make sure your MN is enabled:
Lindad masternode list|grep <your ip>
If you see this:
"<your vps ip>:33820" : 1
Then you successfully installed your new Linda masternode on Ubuntu 16 Linux.
Congrats!
16. BONUS STEP: Backup your wallet before you log out of your VPS.
Use any SFTP or SCP program to connect to your VPS, and backup your wallet.dat file to your local desktop or laptop. That file is located here:
~/.Linda/wallet.dat
If you feel like you got any value from this, support my efforts:
LINDA: LW6e6Tfda7vEgiwU7cBV4kPYiAyUaJwkiX
Thank you!