Jump to content
DenariusTalk

Search the Community

Showing results for tags 'masternode'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News & Announcements
    • Announcements
  • Denarius Discussions
    • General Discussion
    • Tutorials & Help
    • Marketing & PR
    • Development
    • Mining & Staking
    • Trading & Exchanges
    • Marketplace
  • Other Discussions
    • The Lounge
    • Cryptocurrencies

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 10 results

  1. How to setup Windows QT Wallet as the Main Wallet and Ubuntu Server 16.04 LTS for the VPS. Read through the guide first. Make sure to copy and paste keys and transactionhash to notepad or paper. For the VPS, I am using Vultr. Shilling the referral link. I plan to host in multiple datacenters to spread the masternodes around. VPS Vultr https://www.vultr.com/?ref=7307426 [2FA] Digital Ocean https://m.do.co/c/6dffa03c3628 [2FA] Linode https://www.linode.com/pricing [2FA] Ramnode https://ramnode.com/vps.php Wholesaleinternet https://www.wholesaleinternet.net/vps/ Kinsufi https://www.kimsufi.com/us/en/vps-ssd.xml Alpharacks https://www.alpharacks.com/ChineseNewYear/ OVH https://www.ovh.com/world/vps/vps-ssd.xml Dedicated Wholesaleinternet https://www.wholesaleinternet.net/dedicated/ Kimsufi https://www.kimsufi.com/us/en/servers.xml BuyVM https://buyvm.net/kvm-dedicated-server-slices Hosthatch https://hosthatch.com/ssd-vps [2FA] Server Discussions Lowendtalk https://lowendtalk.com/categories/offers Setup QT Wallet 1. Make sure your wallet is fully synced before proceeding further. Using the QT wallet, enter the debug console (Help > Debug window). This step will generate a masternode private key, please note this down and this will be required later. Type the following command: masternode genkey 2. Get masternode address for your masternode. Replace masternodename with your desired masternode name. getaccountaddress masternodename 3. Send from your wallet exactly 5,000 DNR to the address you generated from step 2. Ensure you get 20 confirmation before proceeding. 4. Get the outputs of the transaction of the 5,000 DNR send to your masternode address. The long hash is your Transaction Hash and the number after is the Transaction Index. Please note this down and this will be required later. masternode outputs 5. Navigate to your users Roaming folder. Copy and paste %AppData% This should show you the Roaming folder and find Denarius folder. 6. In the denarius folder we will create a denarius.conf file, if it is has not been created already. Copy and paste the configuration below to your denarius.conf file. staking=0 addnodes to the bottom of the denarius.conf above. 7. Create and save another configuration file called masternode.conf in the same location as denarius.conf. <Alias name of your choice> <VPS IP address>:9999 <Private Key from step 1> <TransactionHash from step 4> <Transaction Index from step 4> Example: MNDNR 31.14.125.27:9999 DF92WPpkqbr7s6Si4fdsfssjjapuFzAXwETCrpPJubnrmU6aKzh c8f4965ea57a68d0e6dd384324dfd28cfbe0c801015b973e7331db8ce018716999 1 8. Ensure you close or restart your main wallet. How to use Putty for Windows to login to your VPS https://www.vultr.com/docs/connecting-to-your-server-with-ssh-via-putty-on-windows Ubuntu VPS Masternode Server Setup Change root password For security reasons you should change the root password with a strong and randomly generated password that you store somewhere safe. passwd root Input your new password twice and continue. Add User and Change User Permissions To take additional security measures, we will create a new user under which we will run the masternode. Use the following command to add a user and replace (name) with the name of your choice. adduser <name> Input a password for your user when prompted. Next we need to give this user administrative permissions with the following command: usermod -aG sudo <name> Update Linux and Install Security Features Use the following commands install updates for Ubuntu: apt-get update && apt-get upgrade -y Press “Y” and Enter when prompted to continue. Next we will install a firewall with the following command: apt install ufw python virtualenv git unzip pv make nano Press “Y” and Enter when prompted to continue. SSH Key SSH keys are a safer way to login. If you are not interested in SSH keys, skip to the next part of the tutorial. Use the following Vultr Doc to make an SSH key: How Do I Generate SSH Keys? After you get your public key, login with your new user again. su username mkdir ~/.ssh; nano ~/.ssh/authorized_keys Copy the public key directly from the PuTTY key generator into the terminal Save the file, then change the permissions of that file. sudo chmod 700 -R ~/.ssh && chmod 600 ~/.ssh/authorized_keys Return to the root user. exit SSH configuration Now we will make the SSH daemon more secure. Let's start with the config file: nano /etc/ssh/sshd_config Disable root ssh login This step will disable root login through SSH, it is entirely optional but highly recommended. Find this line: PermitRootLogin yes ... and change it to: PermitRootLogin no Find the line that specifies PasswordAuthentication, uncomment it by deleting the preceding #, then change its value to "no". It should look like this after you have made the change: sshd_config — Disable password authentication PasswordAuthentication no This will make the server more secure against bots that try brute force and/or common passwords with user root and port 22 Restart SSH daemon Now that we made the changes to secure the SSH Login, restart the SSH service: service ssh restart This will restart and reload the server settings Firewall Settings note: port 33339 is P2P port for Denarius ufw allow ssh/tcp ufw allow 9999/tcp ufw allow 33339 ufw allow 19999 ufw logging on ufw enable press "Y" and Enter when prompted to continue Create Swapfile fallocate -l 4G /swapfile chmod 600 /swapfile mkswap /swapfile swapon /swapfile nano /etc/fstab Add the code below at the end of the file, then press “Ctrl + X” to close the editor, then “Y” and Enter to save the file. *Separate the words and numbers with a TAB. /swapfile none swap sw 0 0 Fail2Ban Install Finally we will install an optional security feature called “Fail2Ban”. This feature bans malicious IP addresses by scanning log files for failed login attempts. apt-get install fail2ban Press “Y” and Enter when prompted to continue. If you want to dig into fail2ban some more -> https://linode.com/docs/security/using-fail2ban-for-security/#configure-fail2ban Reboot Server Now we will finalize the updates by rebooting the server. reboot now You will be disconnected and the server will reboot automatically. From this point on, you will login to your server and run the masternode from the user you created previously. Install Masternode Dependencies Log into your VPS as the user you previously created. Terminal: Replace <username> with your username ssh <username>@xxx.xxx.xxx.xxx PuTTY: Follow the steps at the start of this guide to connect to the VPS. When prompted for “login as” use your user name instead of “root” Input the follow commands to install the required dependencies. Enter your password if prompted. sudo apt-get install build-essential libssl-dev libboost-all-dev libminiupnpc-dev libqrencode-dev sudo add-apt-repository ppa:bitcoin/bitcoin sudo apt-get update sudo apt-get -y install libdb4.8++-dev If you get an error above run this first sudo apt-get install software-properties-common Install Denarius Mainnet master Branch: Input the following commands to install the mainnet masternode branch. git clone https://github.com/carsenk/denarius cd denarius git checkout master cd src make -f makefile.unix It will take about 10 minutes while your server processes and installs the masternode files.★ If your VPS gets hung up for an extended period throughout the process you may need to upgrade to a VPSwith more RAM. 2GB is recommended.You will know that the process is complete when you see the following:<username>@<servername>:~/denarius/src$This means the VPS is ready for further commands and that you are currently in the “~/denarius/src” directory.From here we will enter the command that is used to start the Denarius Server Deamon ./denariusd It won’t start up now because we have not configured the denarius.conf file, but we need some information the output provides. Copy the lines (as shown above) that start with code below and save it. rpcuser= rpcpassword= We will then create a denarius.conf file and add these lines to the file. To create and edit the config file use the command below: nano ~/.denarius/denarius.conf Copy in your rpcuser and rpc password at the top, Copy and paste the configuration below to your denarius.conf file. Make sure to replace the values that are unique to your node without “< >”. Ensure that rpcuser and rpcpassword are different than you had specified in the main wallet. rpcuser=<rpc_user> rpcpassword=<rpc_password> rpcallowip=127.0.0.1 daemon=1 staking=0 listen=1 logtimestamps=1 maxconnections=256 port=9999 masternode=1 masternodeprivkey=<private key generated in step 1> Addnodes to the bottom of the above denarius.conf file. Add chaindata cd ~/.denarius rm -rf database txleveldb smsgDB wget https://gitlab.com/denarius/chaindata/raw/master/chaindata.zip unzip chaindata.zip If it asks to overwrite type A for all. Start your Denarius daemon. cd ~/denarius/src ./denariusd Wait for sync to finish. To check if you are fully synced type ./denariusd getinfo And wait for the current block to show up. Start masternode remotely - QT wallet From your main computer, go to the debug console and verify masternode.conf file is setup properly masternode list-conf Make sure the data output here matches the information entered in the masternode.conf file. If not, edit the file and correct the data. You will have to restart the main wallet, if you update the masternode.conf file. If the masternode configuration matches then we can finally start the masternode. Start the masternode by executing the following (wallet needs to be unlocked): masternode start-alias <alias name specified in masternode.conf> If the output says “masternode is stopped” then run the following command: masternode start Verify on VPS masternode - VPS wallet To ensure the masternode is running properly you can use the debug and status commands: ./denariusd masternode debug If there are no issues, there should be a message returned with no problems found. ./denariusd masternode status You should get a status 9 if the masternode is active and there is no issue! How to read debug log on VPS wallet. tail -f ~/.denarius/debug.log You can see if your masternode is listed on the QT wallet - Masternode Icon > Denarius Network tab. If it does not appear straight away, give it 30mins and restart the wallet to check if your masternode shows up on the list If you watch the debug.log while you run masternode start-alias masternodename from the QT wallet, you might be able to catch the screenshot below. Masternode Status Codes MASTERNODE_NOT_PROCESSED: 0 MASTERNODE_IS_CAPABLE: 1 MASTERNODE_NOT_CAPABLE: 2 MASTERNODE_STOPPED: 3 MASTERNODE_INPUT_TOO_NEW: 4 MASTERNODE_PORT_NOT_OPEN: 6 MASTERNODE_PORT_OPEN: 7 MASTERNODE_SYNC_IN_PROCESS: 8 MASTERNODE_REMOTELY_ENABLED: 9 Thanks to @Ragtag for clearly writing how the cold wallet works for testnet.
  2. Location of script. https://github.com/buzzkillb/denariuscoin-Dockerfiles Run this on a VPS bash -c "$(wget -O - https://raw.githubusercontent.com/buzzkillb/denariuscoin-Dockerfiles/master/createswap.sh)" && bash -c "$(wget -O - https://raw.githubusercontent.com/buzzkillb/denariuscoin-Dockerfiles/master/install.sh)" After it finishes installing. Then go to https://YOURSERVERIP After inputting the key, you are done with the VPS portion. at the command prompt type To List docker ps To enter the container. docker exec -it denariuscoinmasternode bash Sample commands /root/.denarius/denariusd getinfo /root/.denarius/denariusd masternode status
  3. Introducing Denarius Masternode sweepstakes. Can you guess the date/time of activation block 645,000? Do you want to win 50DNR ? Submit your entry here at denariustalk.org Conditions: Include a timezone in GMT format - EDIT - Any time zone will do, but please include a timezone indication Entries must be posted before block 620,000 Ensure your denariustalk.org profile or post has a DNR address saved in it (we will confirm your address at end of draw) Entries only accepted in this forum thread Only one entry per profile Edited posts will not be accepted into the sweepstakes - Due to too many people not including a timezone indication or wallet address posts may have to be edited. I will keep OP updated in order of entries with notes on what is missing, and will include edit dates/times+source of edit information. Update for entries in order as at 03/03/2018 20:55GMT+13 Vagumera Tuesday, 20 March 2018 at 5:53:05 pm (confirmed timezone GMT+0 via forum post) weaponizedautismbux Saturday, 10 March 2018 at 7:07:07 pm (confirmed via Discord UTC+5 and edited at 03/03/2018 21:25 GMT+13) Samuel 2018-03-09 22:30 (pending time zone confirmation) @abusamak_twitter march 15, 2018 @ 15:20 US EST (8:20pm GMT) jtmining17 march 14th 6:55PM (pending time zone confirmation) buzzkillb March 15 7:56AM PST (3:56PM UTC) ---------------------------------- Edit 21:00 13/03/2018 GMT+13 - consolidate entries and normalise to UTC/GMT timestamps Entries Closed at Block 620,000 Block 620,000 2018-03-08 0:52:13 https://chainz.cryptoid.info/dnr/block.dws?0000000000104d84e74bf5681cb3a21a15404d85a6804dd6278360a18f33826c.htm Forum Name UTC/GMT Normalised Time Samuel 09/March/2018 22:30 weaponizedautismbux 10/March/2018 14:07:07 Johndoe126 14/March/2018 14:13 jtmining17 14/March/2018 18:55 buzzkillb 15/March/2018 15:56 8pack 15/March/2018 19:00 @abusamak_twitter 15/March/2018 20:20 ICanHazCrypto 16/March/2018 13:45 Wellayhknow 18/March/2018 4:35 d3athgu1s3 18/March/2018 6:42 noncepockets 18/March/2018 18:24 KawaiiCrypto 19/March/2018 0:38:44 sledgehammer 19/March/2018 3:00 ehri 19/March/2018 10:47 chris92 19/March/2018 15:01:39 Vagumera 20/March/2018 17:53:05
  4. I have no affiliation to mynode.rocks. Since we don't hodl the private keys we are also giving up quite a bit to use a shared masternode provider. Use your best judgement on this one. Now onto the guide. https://mynode.rocks/#/masternodes/detail/10 Now with video. To run your own DNR Masternode, 5000 DNR is required. A shared masternode allows someone with just 10 DNR to share in the Masternode rewards. Please read their descriptions on the site for how this works with deposits and withdraws. Register, confirm email, and relogin. First click Masternodes at the top and then select Denarius [DNR]. Then click the + sign next to Total for our first deposit. You want to send in increments of 10 DNR as that's how much 1 seat costs on the shared Masternode. If you do not have an address already it will ask you to create one. Once created send your DNR over. The process takes 20 confirms total. Once 20 confirms are done, click under In Queue to reserve your seat. Again you need increments of 10 DNR per seat. Add however many seats you want, click save, and wait for the total 5000 DNR to be in the queue for the shared Masternode to be created.
  5. Script setup guide for VPS. If you want to use easy mode for setting up your VPS wallet, try out this script. https://github.com/denariuscrypto/masternode-script This script is so easy and quick, that when its time to update the ubuntu wallet, just reimage your VPS and rerun. Think of the QT Wallet as your remote control and the Ubuntu VPS as your TV. At the end of setup you will turn your TV (VPS) on using the remote (QT wallet). The remote doesn't need to be in the room while you binge on Netflix for the next month. How to setup Windows QT Wallet as the Main Wallet and Ubuntu Server 16.04 LTS for the VPS. Read through the guide first. Make sure to copy and paste keys and transactionhash to notepad or paper. Since so many are using Vultr, please spread the network out to different VPS's. I am trying to pick providers that I am pretty sure are located in separate data centers. VPS Digital Ocean https://m.do.co/c/6dffa03c3628 [2FA] Linode https://www.linode.com/pricing [2FA] Quadranet https://www.quadranet.com/infracloud (accepts BTC, LTC, ETH) Hostodo https://hostodo.com/cloud.html Virmach https://billing.virmach.com/aff.php?aff=3972 [2FA] Ramnode https://ramnode.com/vps.php Wholesaleinternet https://www.wholesaleinternet.net/vps/ Kimsufi https://www.kimsufi.com/us/en/vps-ssd.xml OVH https://www.ovh.com/world/vps/vps-ssd.xml Vultr https://www.vultr.com/?ref=7307426 [2FA] Dedicated Wholesaleinternet https://www.wholesaleinternet.net/dedicated/ Kimsufi https://www.kimsufi.com/us/en/servers.xml BuyVM https://buyvm.net/kvm-dedicated-server-slices (accepts BTC, LTC, BCH, ETH) Hosthatch https://hosthatch.com/ssd-vps [2FA] Deal Blogroll https://lowendbox.com/ Server Discussions Lowendtalk https://lowendtalk.com/categories/offers Youtube Video Guide Below is how to setup the QT Wallet for this, which the script does try to guide the user with already. TIPS: On putty right click or shift+insert will paste a command when entering a password, the field will be blank Setup QT Wallet 1. Make sure your wallet is fully synced before proceeding further. Using the QT wallet, enter the debug console (Help > Debug window). This step will generate a masternode private key, please note this down and this will be required later. Type the following command: masternode genkey 2. Get masternode address for your masternode. Replace masternodename with your desired masternode name. getaccountaddress masternodename 3. Send from your wallet exactly 5,000 DNR to the address you generated from step 2. Ensure you get 20 confirmation before proceeding. 4. Get the outputs of the transaction of the 5,000 DNR send to your masternode address. The long hash is your Transaction Hash and the number after is the Transaction Index. Please note this down and this will be required later. masternode outputs 5. Navigate to your users Roaming folder. Copy and paste %AppData% This should show you the Roaming folder and find Denarius folder. 6. In the denarius folder we will create a denarius.conf file, if it is has not been created already. Copy and paste the configuration below to your denarius.conf file. staking=0 addnodes to the bottom of the denarius.conf above, this could help with syncing issues, not required though. 7. Create and save another configuration file called masternode.conf in the same location as denarius.conf. <Alias name of your choice> <VPS IP address>:9999 <Private Key from step 1> <TransactionHash from step 4> <Transaction Index from step 4> Example: MNDNR 31.14.125.27:9999 DF92WPpkqbr7s6Si4fdsfssjjapuFzAXwETCrpPJubnrmU6aKzh c8f4965ea57a68d0e6dd384324dfd28cfbe0c801015b973e7331db8ce018716999 1 8. Ensure you close or restart your main wallet. Start masternode remotely - QT wallet From your main computer, go to the debug console and verify masternode.conf file is setup properly masternode list-conf Make sure the data output here matches the information entered in the masternode.conf file. If not, edit the file and correct the data. You will have to restart the main wallet, if you update the masternode.conf file. If the masternode configuration matches then we can finally start the masternode. Here is the command to get going on the VPS. And setup 1 MN per VPS you cheapskates! apt-get install python -y wget https://raw.githubusercontent.com/buzzkillb/masternode-script/master/denarius.py && python denarius.py or for the no compile wallet that gets from hashbag.cc apt-get install python -y wget https://raw.githubusercontent.com/buzzkillb/masternode-script/master/denarius-nocompile.py && python denarius-nocompile.py Once this is done get into the directory with su mn1. I would give this a good 20 minutes to make sure its synced up with the tail command below. Some more commands below once in there. Status=9 means its working. su mn1 denariusd getinfo denariusd masternode status denariusd masternode debug tail -f ~/.denarius/debug.log tail -f ~/.denarius/debug.log | grep -i enabled To update script su -c "denariusd stop" mn1 && cd /opt/Denarius/src && git pull && make -f makefile.unix && cp denariusd /usr/local/bin/denariusd && su -c "denariusd" mn1 Start the masternode by executing the following on QT Wallet (QT Wallet needs to be unlocked): masternode start-alias <alias name specified in masternode.conf> If the output says “masternode is stopped” then run the following command: masternode start Verify on VPS masternode - VPS wallet Login as root and at the prompt to get to denariusd type su mn1 To ensure the masternode is running properly you can use the debug and status commands: denariusd masternode debug If there are no issues, there should be a message returned with no problems found. denariusd masternode status You should get a status 9 if the masternode is active and there is no issue! How to read debug log on VPS wallet. tail -f ~/.denarius/debug.log After a while of disconnects on the debug.log, you will eventually see this below while you catch up with the blockchain. You can see if your masternode is listed on the QT wallet - Masternode Icon > Denarius Network tab. If it does not appear straight away, give it 30mins and restart the wallet to check if your masternode shows up on the list If you watch the debug.log while you run masternode start-alias masternodename from the QT wallet, you might be able to catch the screenshot below. Masternode Status Codes MASTERNODE_NOT_PROCESSED: 0 MASTERNODE_IS_CAPABLE: 1 MASTERNODE_NOT_CAPABLE: 2 MASTERNODE_STOPPED: 3 MASTERNODE_INPUT_TOO_NEW: 4 MASTERNODE_PORT_NOT_OPEN: 6 MASTERNODE_PORT_OPEN: 7 MASTERNODE_SYNC_IN_PROCESS: 8 MASTERNODE_REMOTELY_ENABLED: 9
  6. ICanHazCrypto

    DNR MASTERNODES

    Alright DNR community, lets use this space to discuss everything about the idea of a Denarius Masternode implementation. How many masternodes should there be... what should the price of a MN cost... etc.
  7. buzzkillb

    Masternode Status Codes

    Masternode Status codes MASTERNODE_NOT_PROCESSED: 0 MASTERNODE_IS_CAPABLE: 1 MASTERNODE_NOT_CAPABLE: 2 MASTERNODE_STOPPED: 3 MASTERNODE_INPUT_TOO_NEW: 4 MASTERNODE_PORT_NOT_OPEN: 6 MASTERNODE_PORT_OPEN: 7 MASTERNODE_SYNC_IN_PROCESS: 8 MASTERNODE_REMOTELY_ENABLED: 9
  8. This guide is updated for MAINNET, mainnet goes live (from block 645,000, approx. 14th March). OVERVIEW: While it is possible to set up a “hot node” in which the masternode stores the 5000 DNR collateral, it is more secure and safer to set up a “cold node” in which the masternode runs on a VPS (Virtual Private Server) and the coins stay local in your Windows/Linux wallet. In this way, the IP address associated with the Masternode (which is clearly visible by anyone) is not the IP address where the coins are kept, making a more secure setup. This type of set-up also allows for the controller (local) wallet to be shut down without affecting the masternode. REQUIREMENTS: 5,000 DNR A main computer (Your everyday computer used for browsing the Internet or your hardcore gaming PC) Masternode Server (This need to be switched on and connected to the internet 24/7 running on any Linux distro) 2GB of RAM is recommended or 1GB of RAM and 1GB of swap - VPS can hang if the masternode RAM is not enough, your are advised to upgrade the current server package if this occurs. A different IP address for EACH masternode (only applicable if you plan to run more than one DNR masternode) (Guide will use Windows as main wallet and Ubuntu Server 16.04 LTS for the VPS) I am using Alpharacks, they offer cheap servers along with great service! Check them out for completive offers. Please use my referral link. For this guide, I’m going to refer to the main computer’s wallet as the main wallet, and the VPS’s wallet as the masternode wallet. The main wallet will hold all Denarius used to run the masternode. Ensure you open the main wallet in cmd and use -testnet! Sending masternode collateral and configuring .conf files - Main wallet 1. Make sure your wallet is fully synced before proceeding further. Using the main wallet, enter the debug console (Help > Debug window). This step will generate a masternode private key, please note this down and this will be required later. Type the following command: masternode genkey 2. Get masternode address for your masternode. Replace masternodename with your desired masternode name. getaccountaddress masternodename 3. Send from your wallet exactly 5,000 DNR to the address you generated from step 2. Ensure you get 20 confirmation before proceeding. 4. Get the outputs of the transaction of the 5,000 DNR send to your masternode address. The long hash is your Transaction Hash and the number after is the Transaction Index. Please note this down and this will be required later. masternode outputs 5. Navigate to your users Roaming folder. Copy and paste %AppData% This should show you the Roaming folder and find Denarius folder. 6. In the denarius folder we will create a denarius.conf file, if it is has not been created already. Copy and paste the configuration below to your denarius.conf file. Make sure to replace the values that are unique to your node without “< >”. daemon=1 testnet=0 staking=0 listen=0 logtimestamps=1 maxconnections=256 port=9999 masternode=1 masternodeprivkey=<private key generated in step 1> 7. Create and save another configuration file called masternode.conf in the same location as denarius.conf. <Alias name of your choice> <VPS IP address>:9999 <Private Key from step 1> <TransactionHash from step 4> <Transaction Index from step 4> Example: MNDNR 31.14.125.27:9999 DF92WPpkqbr7s6Si4fdsfssjjapuFzAXwETCrpPJubnrmU6aKzh c8f4965ea57a68d0e6dd384324dfd28cfbe0c801015b973e7331db8ce018716999 1 8. Ensure you close or restart your main wallet. Compile Denarius daemon test masternode on VPS - Masternode wallet Ensure your VPS is secured; here is a few steps you can take to secure your VPS. There are plenty more way to ensure your VPS is watertight, research via google. this cold node setup will also ensure your coins are not on VPS. 9. Ensure the required dependencies for compiling the masternode daemon are installed: sudo add-apt-repository ppa:bitcoin/bitcoin sudo apt-get update sudo apt-get -y install libdb4.8++-dev sudo apt-get install build-essential libssl-dev libdb++-dev libboost-all-dev libminiupnpc-dev libqrencode-dev -y Any issues or difficulties with dependencies - see @KawaiiCrypto comments. 10. Download the relevant files and initiate the compile commands, this can take some time depending on the performance of your VPS (up to 30mins): git clone https://github.com/carsenk/denarius cd denarius git checkout master cd src make -f makefile.unix 11. Once the compiling is complete and you should be still in the "~/denarius/src” directory. Denarius daemon will need to be started. This ensures that the ~/.denarius/ folder and required files are setup. Beware - Denarius daemon will not start up because the denarius.conf file has not been configured. ./denariusd 12. Ignore the message about unable to start, as this is normal and we will specify the configuration information now. Edit the denarius.conf file on the masternode wallet, you can use any linux text editor. I use vi in the example below. vi ~/.denarius/denarius.conf 13. Copy and paste the configuration below to your denarius.conf file. Make sure to replace the values that are unique to your node without “< >”. Ensure that rpcuser and rpcpassword are different than you had specified in the main wallet. rpcuser=<rpc_user> rpcpassword=<rpc_password> daemon=1 testnet=0 staking=0 listen=1 logtimestamps=1 maxconnections=256 port=9999 masternode=1 masternodeprivkey=<private key generated in step 1> 14. Start your Denarius daemon. cd ~/denarius/src ./denariusd Start masternode remotely - Main wallet 15. From your main computer, go to the debug console and verify masternode.conf file is setup properly. masternode list-conf Make sure the data output here matches the information entered in the masternode.conf file. If not, edit the file and correct the data. You will have to restart the main wallet, if you update the masternode.conf file. If the masternode configuration matches then we can finally start the masternode. 16. Start the masternode by executing the following: masternode start-alias <alias name specified in masternode.conf> 17. If the output says “masternode is stopped” then run the following command: masternode start Verify on VPS masternode - Masternode wallet 18. To ensure the masternode is running properly you can use the debug and status commands: ./denariusd masternode debug If there are no issues, there should be a message returned with no problems found. ./denariusd masternode status You should get a status 1 if the masternode is active and there is no issue! 19. You can see if your masternode is listed on the main wallet - Masternode Icon > Denarius Network tab. If it does not appear straight away, give it 30mins and restart the wallet to check if your masternode shows up on the list. Note: You do not need to leave your main wallet (windows QT) open. The Denarius daemon/masternode will run independently once remotely activated from main wallet. Congratulations! That's it, your cold node setup is successfully complete! Thanks to @buzzkillb whose "hot node" guide I have brought from DNR Masternode Setup.
  9. Sign up for uptimerobot and input your masternode VPS with IP and port and checkmark the notify button. Now you can be alerted if the VPS goes down for maintenance. https://uptimerobot.com
  10. Refer to ragtags guide here.
×