COMPLETE MASTERNODE GUIDE (WINDOWS LOCAL + LINUX REMOTE @VULTR)

AndyDark

Well-known Member
Sep 10, 2014
353
705
163
Hey there,

Many thanks for your instructions on setting up the hot/cold masternode config, i'm trying to do this and these are the best instructions I found.

Sorry for the noob questions, I am fairly new to advanced wallet usage, but 2 things I can't figure out here:

1. If the linux server has the private key of the remote windows masternode wallet in it, can't the cold wallet on windows be reclaimed by a hacker using just the private key on the server? (guessing I have missed something basic here)

2. I have a few masternodes I picked up recently, is it possible to run multiple remote windows wallets on one box - for example having multiple windows users logged in at the same time and have a drk wallet open with a different port on each?

EDIT: I just saw someone asked about #1 and its a different private key on the linux server? still bit confused :)

Thanks

Andy
 

stonehedge

Well-known Member
Foundation Member
Jul 31, 2014
696
333
233
I think you're confusing your masternode key and your wallet private key (wallet password). Without the wallet password, nobody is getting any funds from your cold wallet.
 

AndyDark

Well-known Member
Sep 10, 2014
353
705
163
I think you're confusing your masternode key and your wallet private key (wallet password). Without the wallet password, nobody is getting any funds from your cold wallet.
ok thanks that explains it. so its just the masternode key on the linux server and not the private key from windows. thanks!
 

stonehedge

Well-known Member
Foundation Member
Jul 31, 2014
696
333
233
Be wary of my explanations as I am still trying to fully understand the fundamentals of this technology myself. I have a dangerous amount of knowledge with a load of big gaps in the middle.

However, the masternodeprivkey that is in both of your conf files in a local cold - remote masternode is certainly not usable to unlock your local wallet and spend funds.
 

AndyDark

Well-known Member
Sep 10, 2014
353
705
163
Be wary of my explanations as I am still trying to fully understand the fundamentals of this technology myself. I have a dangerous amount of knowledge with a load of big gaps in the middle.

However, the masternodeprivkey that is in both of your conf files in a local cold - remote masternode is certainly not usable to unlock your local wallet and spend funds.
No probs, very helpful thanks.

Does anyone know if it's possible to run multiple masternode wallets side-by-side on a single windows machine?

EDIT: I found this for mutiple wallets on Linux so am looking for Windows solution https://darkcointalk.org/threads/creating-your-second-third-fourth-etc-masternodes.1957/
 
Last edited by a moderator:

stonehedge

Well-known Member
Foundation Member
Jul 31, 2014
696
333
233
Yes, it is possible.

Firstly, backup your existing wallet! (I accidentally overwrote a wallet trying this)

I run 5 masternodes so I have five subdirectories under User/Appdata/Roaming/Darkcoin called MN1, MN2, MN3, MN4, MN5

Create these folders empty.

Create a shortcut to QT and edit the target of the shortcut to read ....darkcoin-qt.exe -datadir=c:\Users\you\AppData\Roaming\MN1\

When you run this shortcut it will create a wallet and other necessary files in the subfolder MN1

Create folder for MN2...create shortcut for MN2...rinse repeat.
 
  • Like
Reactions: DcoinZ

Miner237

Well-known Member
Foundation Member
May 28, 2014
509
223
213
No probs, very helpful thanks.

Does anyone know if it's possible to run multiple masternode wallets side-by-side on a single windows machine?

EDIT: I found this for mutiple wallets on Linux so am looking for Windows solution https://darkcointalk.org/threads/creating-your-second-third-fourth-etc-masternodes.1957/
Yeah you can run the qt wallet as another local windows user and configure the darkcoin.conf file for each user account, or use the datadir option in a windows shortcut to the qt wallet for each instance of a config file
 

stonehedge

Well-known Member
Foundation Member
Jul 31, 2014
696
333
233
Yeah you can run the qt wallet as another local windows user and configure the darkcoin.conf file for each user account, or use the datadir option in a windows shortcut to the qt wallet for each instance of a config file
Yes, it is possible.

Firstly, backup your existing wallet! (I accidentally overwrote a wallet trying this)

I run 5 masternodes so I have five subdirectories under User/Appdata/Roaming/Darkcoin called MN1, MN2, MN3, MN4, MN5

Create these folders empty.

Create a shortcut to QT and edit the target of the shortcut to read ....darkcoin-qt.exe -datadir=c:\Users\you\AppData\Roaming\MN1\

When you run this shortcut it will create a wallet and other necessary files in the subfolder MN1

Create folder for MN2...create shortcut for MN2...rinse repeat.
Exactly like this ^
 

AndyDark

Well-known Member
Sep 10, 2014
353
705
163
Sorry for the noob question, but is there any differences to following this guide for RC5 instead of RC4?

thanks
 
Oct 9, 2014
77
35
58
I am trying to download wallet
wget wget darkcoin-0.10.14.1-linux.tar.gz (cant post the link, so jsut added the end)
but all I get is 404 error. Do you guys perhaps know, what I am doing incorrectly?
 

weirdgod

Well-known Member
Foundation Member
Jun 4, 2014
91
51
168
Slovenia, EU
You should start with https://www.darkcoin.io/downloads/ where you verify what is the latest linux binaries... and download them.
Today this is https://raw.githubusercontent.com/d...naries/master/darkcoin-0.10.14.1-linux.tar.gz

If you are getting 404 error then there is a problem with above file (although it works fine with me) or your server/internet connection.
If you get any other error post it here.

Since this is HTTPS now, you might solve your ssl/cert related problem by using this parameter for wget:

wget --no-check-certificate https://raw.githubusercontent.com/d...naries/master/darkcoin-0.10.14.1-linux.tar.gz
 

Light

Well-known Member
Foundation Member
Jun 4, 2014
346
256
233
I am trying to setup testnet masternodes using Vultr (based on weirddog's guide) but stuck in changing the root password. Anyone is using Vultr at the moment? Help would be appreciated.
 

oblox

Well-known Member
Aug 6, 2014
1,032
537
183
I am trying to setup testnet masternodes using Vultr (based on weirddog's guide) but stuck in changing the root password. Anyone is using Vultr at the moment? Help would be appreciated.
Your initial password is in the web manager like the guide says. Not sure how you are running into difficulties. What error are you getting when you try to change your password?
 

Lebubar

Active Member
Mar 15, 2014
249
213
103
I am trying to setup testnet masternodes using Vultr (based on weirddog's guide) but stuck in changing the root password. Anyone is using Vultr at the moment? Help would be appreciated.
well
once you are with root user just type : passwd
And put two time your new password.
You don't need the old password.

Did you get an error or something?
 

Light

Well-known Member
Foundation Member
Jun 4, 2014
346
256
233
Where do I go from here?

I clicked 'e' to add the passwd but didn't work. I guess this part has to be spoon fed :oops:

 

oblox

Well-known Member
Aug 6, 2014
1,032
537
183
Where do I go from here?

I clicked 'e' to add the passwd but didn't work. I guess this part has to be spoon fed :oops:

Hit c for command line and do passwd root. How did you manage to get to grub in the first place? What image did you choose to have installed and did you do anything after the VPS was setup in terms of keying, etc?
 

Light

Well-known Member
Foundation Member
Jun 4, 2014
346
256
233
This what what I did:

Clicked "View Console" (then above window opens), clicked 'c' for "grub>" command line, I typed passwd root and it says: "error: can't find commans 'passwd'. What is the exact command?

"password root" says "two arguments expected"
 

oblox

Well-known Member
Aug 6, 2014
1,032
537
183
This what what I did:

Clicked "View Console" (then above window opens), clicked 'c' for "grub>" command line, I typed passwd root and it says: "error: can't find commans 'passwd'. What is the exact command?

"password root" says "two arguments expected"
"passwd root"

Now that I think about it, that's probably for the grub command line (been awhile). You could also try going under advanced where there should be an option to get to the terminal. Quite frankly, I'm surprised you were prompted to grub. You should be able to hit enter on ubuntu to login.
 
Last edited by a moderator:

darktemplar

New Member
Sep 24, 2014
2
1
3
Hello, regarding masternode creation process+ this thread:
planetcrypton*com / crypto-coin-computer-setups

I might overlooked one information, when I will create masternode, and using "cold wallet". This cold wallet will be located in different PC/server, but there will be need to run this PC 24/7 ? So both masternode and cold wallet PC needs to run at the same time ?
 

weirdgod

Well-known Member
Foundation Member
Jun 4, 2014
91
51
168
Slovenia, EU
@ darktemplar : no.
Read first few posts in this thread. These instructions are valid even for latest version of darkcoin binaries.
And you have all the answers there.
 

BolehVPN

Active Member
Nov 24, 2014
195
306
123
I'm having issues with my MN setup. Have not been receiving payouts.

XdHn5eQiHMp2FzMviyxW2kqhFrg2SgDVWH
103.25.203.25:9999

[email protected]:~$ cat .darkcoin/darkcoin.conf
rpcuser=xxx
rpcpassword=xxx
rpcallowip=127.0.0.1
listen=1
server=1
daemon=1
logtimestamps=1
maxconnections=256
masternode=1
masternodeprivkey=xxx
addnode=23.23.186.131​

Local darkcoin.conf

rpcuser=xxx
rpcpassword=xxx
rpcallowip=127.0.0.1
listen=0
server=1
daemon=1
logtimestamps=1
addnode=23.23.186.131
masternode=1
masternodeprivkey=xxx
masternodeaddr=103.25.203.25:9999​

Grep logs

[email protected]:~$ grep HotCold .darkcoin/debug.log
2014-11-25 15:13:57 CActiveMasternode::EnableHotColdMasterNode() - Enabled! You may shut down the cold daemon.
2014-11-25 15:14:46 CActiveMasternode::EnableHotColdMasterNode() - Enabled! You may shut down the cold daemon.
[email protected]:~$ darkcoind masternode list | grep 103.25.203.25
"103.25.203.25:9999" : 1,​

[email protected]:~$ tail -50 ~/.darkcoin/debug.log
2014-11-26 00:18:02 send last getblocks for 00000000000a4bea4d60fb6934900977c679de3f582a08b867ccd0bddeadac64 peer=247
2014-11-26 00:18:02 getblocks -1 to 0 limit 500 peer=247
2014-11-26 00:18:03 AcceptToMemoryPool: 188.226.228.88:9999 /Satoshi:0.10.16.16/ : accepted 8542de4f407351db4f2c0c1ec2d2ae910812ca3492807bd88fbee635c4a176e0 (poolsz 1)
2014-11-26 00:18:07 send last getblocks for 0000000000070d208af90866c8d38dbd73172bfa89741fbd235613851ddcc71a peer=6
2014-11-26 00:18:09 getblocks 175815 to 00000000000a4bea4d60fb6934900977c679de3f582a08b867ccd0bddeadac64 limit 500 peer=89
2014-11-26 00:18:09 getblocks stopping at 175816 00000000000a4bea4d60fb6934900977c679de3f582a08b867ccd0bddeadac64
2014-11-26 00:18:10 getblocks 175816 to 0 limit 500 peer=6
2014-11-26 00:18:16 dsee - Got NEW masternode entry 69.90.186.13:9999
2014-11-26 00:18:16 dsee - Accepted masternode entry -1 -1
2014-11-26 00:18:23 maxconnections check 248
2014-11-26 00:18:23 accepted connection 109.201.154.142:53607
2014-11-26 00:18:23 partner 109.201.154.142:53607 using obsolete version 70038; disconnecting
2014-11-26 00:18:23 ProcessMessage(version, 133 bytes) FAILED
2014-11-26 00:18:23 disconnecting node 109.201.154.142:53607
2014-11-26 00:18:27 Added 1 addresses from 198.23.202.79: 83 tried, 8923 new
2014-11-26 00:18:53 CDarkSendPool::UpdateState() == 3 | 3
2014-11-26 00:19:14 maxconnections check 248
2014-11-26 00:19:14 accepted connection 86.18.11.201:56271
2014-11-26 00:19:14 partner 86.18.11.201:56271 using obsolete version 70038; disconnecting
2014-11-26 00:19:14 ProcessMessage(version, 104 bytes) FAILED
2014-11-26 00:19:14 disconnecting node 86.18.11.201:56271
2014-11-26 00:19:44 CActiveMasternode::RegisterAsMasterNode() - Masternode input = CTxIn(COutPoint(e0c68e010ee0b3465750d922462b9939396be0f46c3b470aef5bd98e4cc56f5a, 1), scriptSig=)
2014-11-26 00:20:05 AcceptToMemoryPool: 104.153.209.112:9999 /Satoshi:0.10.16.16/ : accepted 22d9e4d8342da6f146acb89f96dafaa4021df70bcc01d6085cfeb865f136c11e (poolsz 2)
2014-11-26 00:20:53 CDarkSendPool::UpdateState() == 3 | 3
2014-11-26 00:21:01 AcceptToMemoryPool: 198.27.67.137:41159 /Satoshi:0.10.16.15/ : accepted 5205b4aa716bd98cca90644339a323d31feb21cd167c8488f0c1d929d59e11c4 (poolsz 3)
2014-11-26 00:21:26 mnw - winning vote CTxIn(COutPoint(cee0dec320c6f9cc8ebce06befa54752f969a39cb75a290627bbbcd7c34366a0, 0), scriptSig=) Height 175827 bestHeight 175816
2014-11-26 00:21:26 ProcessSyncCheckpoint: sync-checkpoint at 00000000001491dfd7daebed8d20aa28f82e4a880fe99dbc6e2506192e03392a
2014-11-26 00:21:27 received block 0000000000018752cbf0624386a06e546acaa178b084c58b555f21aef7cd1b25 peer=4
2014-11-26 00:21:27 Committing 1225 changed transactions to coin database...
2014-11-26 00:21:27 SetBestChain: new best=0000000000018752cbf0624386a06e546acaa178b084c58b555f21aef7cd1b25 height=175817 log2_work=60.524249 tx=672042 date=2014-11-26 00:19:37 progress=0.999998
2014-11-26 00:21:27 send last getblocks for 0000000000018752cbf0624386a06e546acaa178b084c58b555f21aef7cd1b25 peer=247
2014-11-26 00:21:27 send last getblocks for 0000000000018752cbf0624386a06e546acaa178b084c58b555f21aef7cd1b25 peer=17
2014-11-26 00:21:27 send last getblocks for 0000000000018752cbf0624386a06e546acaa178b084c58b555f21aef7cd1b25 peer=12
2014-11-26 00:21:27 getblocks -1 to 0 limit 500 peer=17
2014-11-26 00:21:28 getblocks -1 to 0 limit 500 peer=12
2014-11-26 00:21:28 send last getblocks for 0000000000018752cbf0624386a06e546acaa178b084c58b555f21aef7cd1b25 peer=50
2014-11-26 00:21:29 getblocks -1 to 0 limit 500 peer=50
2014-11-26 00:21:47 mnw - winning vote CTxIn(COutPoint(8e5a0bbfc8d92fce3b646d25d1a0c92a82fac0278a70e9d6dcaddfe98b510359, 0), scriptSig=) Height 175828 bestHeight 175817
2014-11-26 00:21:47 received block 00000000000a5b2036a0216d18c3c3c083a638134a386484cd1c4897ce1184a6 peer=9
2014-11-26 00:21:48 Committing 1221 changed transactions to coin database...
2014-11-26 00:21:48 SetBestChain: new best=00000000000a5b2036a0216d18c3c3c083a638134a386484cd1c4897ce1184a6 height=175818 log2_work=60.524263 tx=672045 date=2014-11-26 00:21:27 progress=1.000000
2014-11-26 00:21:48 ProcessSyncCheckpoint: sync-checkpoint at 00000000000be1769fa8bd66e793fe811ee2c2213885ad135a300184e7fe318e
2014-11-26 00:21:48 send last getblocks for 00000000000a5b2036a0216d18c3c3c083a638134a386484cd1c4897ce1184a6 peer=7
2014-11-26 00:21:48 getblocks -1 to 0 limit 500 peer=7
2014-11-26 00:22:02 AcceptToMemoryPool: 178.62.248.99:9999 /Satoshi:0.10.16.16/ : accepted 41e5c3d357734485ca2c7beb2c09de6d09edee04a565224519537c6e5aaf4c1d (poolsz 1)
2014-11-26 00:22:49 Added 1 addresses from 188.226.228.88: 83 tried, 8923 new
2014-11-26 00:22:53 CDarkSendPool::UpdateState() == 3 | 3
2014-11-26 00:23:18 AcceptToMemoryPool: 198.27.67.137:41159 /Satoshi:0.10.16.15/ : accepted 7d32e4580d017bc035e960ffde0ca1a82ca5c88f5108fc9aaea685025571ab07 (poolsz 2)
2014-11-26 00:23:19 received getdata for: tx 7d32e4580d017bc035e960ffde0ca1a82ca5c88f5108fc9aaea685025571ab07 peer=17
2014-11-26 00:23:23 received getdata for: tx 7d32e4580d017bc035e960ffde0ca1a82ca5c88f5108fc9aaea685025571ab07 peer=89