jakiman
Legendary
Offline
Activity: 1638
Merit: 1011
jakiman is back!
|
|
September 01, 2016, 12:02:46 AM Last edit: September 01, 2016, 09:10:30 AM by jakiman |
|
Thanks! Really appreciate the easy to follow PDF. I got it installed now. Just few questions if that's okay... 1. Is there a way to specify the darknet-cli to a particular MN wallet instance? e.g. To check the getinfo, masternode status, stop, start darknetd for each MN instance. 2. How can I delete a specific MN instance's blockchain to resync from scratch? (if it was needed) Edit: Found the answer from your script. /var/lib/masternodes/darknet<#>/3. If a new wallet comes out, what's the best way to upgrade each of them?
|
|
|
|
B1tUnl0ck3r
Sr. Member
Offline
Activity: 854
Merit: 277
liife threw a tempest at you? be a coconut !
|
|
September 01, 2016, 04:05:17 AM |
|
I'm a bit confused. Some people say only one Darknet MN per IP address, others say there is no such limitation. What's the deal?
People way more skilled than me already answered you, however I would like to take part in the discussion. You can have only on IPv4 MN on a network. However you can have an INFINITE (or very big) number of IPv6 Masternodes. So to get something dirty on a single physical machine: 1 masternode IPv4, 1 masternode IPv6, 1 masternode with tor hidden service. Then like it was said you could use virtual machines with each an IPv6 or tor hidden service and have even more. Don't ask me how, I am only using one IPv6 per masternode and it works great and hassle free! However there are multiple guides available. Darknet has a tendency to attract some of the brightest on this forum! I just would like to thank you for your contributions in this torrc post. It helped me a lot. If it is one MN per IP address, there might be no incentive to host MN's once phase X hits, and rewards are down to 5 DNET.
Not sure that will be an issue, less masternodes means larger masternode rewards, which encourages people to start a few masternodes. If everyone had a few masternodes, we would still have a significant amount of nodes on the network. The objective is to increase the value of DarkNet to offset the lower rewards without creating a high inflation situation. Great! My last MN reward dropped to 29.25. It's working great!!! I tried to split my stake of many inputs of 2500 into a few addresses of 2500. It started to stake really well... and then not that much . variance is a b/&%. let's wait for what the night will bring.
|
When the people of the world will get that covid was intentionally released to frame china, steal the election from trump, assure massive bail outs and foster the forced vaccination agendas...they will forget, like 911, wmds in irak, uss liberty or pedogate.
|
|
|
mxnsch
|
|
September 01, 2016, 04:41:58 AM |
|
... Best practical option pretty much nailed it. Except on eg vultr, where you get a shitload of free IPv6 addresses for free with every instance.
I thought I'd covered that bit with "Increasingly, VPS hosts are also providing IPv6 addresses, which would allow you to 'bind' multiple daemon's running on a single host to each IP. As, far as system resources allow." Yes, but i had to confirm that explicitely. You have no idea how many times i got asked that question already.... Indeed. No worries. Keep up the good work on the script! I have some good iptables firewall rules that are long term 'tested' on vultr instances, if you want to collaborate on those via PM for the script ? Good idea, please ping me. A good standard ruleset is very important.
|
██ ███ nope ██ ███
|
|
|
DRPD
Legendary
Offline
Activity: 1148
Merit: 1001
|
|
September 01, 2016, 09:00:02 AM |
|
......
1. Is there a way to specify the darknet-cli to a particular MN wallet instance? e.g. To check the getinfo, masternode status, stop, start darnetd for each MN instance.
indeed that would be helpful
|
|
|
|
jakiman
Legendary
Offline
Activity: 1638
Merit: 1011
jakiman is back!
|
|
September 01, 2016, 09:16:17 AM |
|
......
1. Is there a way to specify the darknet-cli to a particular MN wallet instance? e.g. To check the getinfo, masternode status, stop, start darknetd for each MN instance.
indeed that would be helpful Yeah. I just started one via my controller wallet but I have no idea how to check if that masternode instance on my vultr node is good or not.
|
|
|
|
mxnsch
|
|
September 01, 2016, 09:36:50 AM |
|
......
1. Is there a way to specify the darknet-cli to a particular MN wallet instance? e.g. To check the getinfo, masternode status, stop, start darknetd for each MN instance.
indeed that would be helpful Yeah. I just started one via my controller wallet but I have no idea how to check if that masternode instance on my vultr node is good or not. Multiple ways to do that. Initially, you want to look at the individual debug log files in /var/lib/masternodes/. Then 1 The easiest obviously on the Controller wallet itself by running "masternode list-conf" 2 OR on the vultr system with "systemctl status darknet_$nodenumber 3 OR external check with uptimerobot 4 OR connect with darknet-cli to your local masternode instance (specify the listening port, rpc username and password) Combine for the best effect. That being said, if the process itself is stuck or killed and/or the vultr instance is rebooted, the operating systems init subsystem itself will start / restart it automatically.
|
██ ███ nope ██ ███
|
|
|
jakiman
Legendary
Offline
Activity: 1638
Merit: 1011
jakiman is back!
|
|
September 01, 2016, 10:29:10 AM |
|
Cool. I used your option 4 to get the CLI working but got this message. darknet-cli -rpcport=4441 -rpcuser=xxxxxx -rpcpassword=xxxxxx -conf=etc/masternodes/darknet_n1.conf masternode status error: couldn't connect to server So I checked debug log and found this: (I masked the IP) 2016-09-01 00:01:04 Unable to bind to [2001:xxxx:xxxx:1a7::1]:9999 on this computer (bind returned error Cannot assign requested address (99)) 2016-09-01 00:01:04 Error: Failed to listen on any port. Use -listen=0 if you want this. 2016-09-01 00:01:04 PrepareShutdown: In progress...
That's the IP that was pre-filled by your script to /etc/masternodes/darknet_n1.conf Any ideas? (I did tick the IPv6 option when I deployed this Ubu 16.04 server on Vultr)
|
|
|
|
mikegi
|
|
September 01, 2016, 11:55:25 AM |
|
Cool. I used your option 4 to get the CLI working but got this message. darknet-cli -rpcport=4441 -rpcuser=xxxxxx -rpcpassword=xxxxxx -conf=etc/masternodes/darknet_n1.conf masternode status error: couldn't connect to server So I checked debug log and found this: (I masked the IP) 2016-09-01 00:01:04 Unable to bind to [2001:xxxx:xxxx:1a7::1]:9999 on this computer (bind returned error Cannot assign requested address (99)) 2016-09-01 00:01:04 Error: Failed to listen on any port. Use -listen=0 if you want this. 2016-09-01 00:01:04 PrepareShutdown: In progress...
That's the IP that was pre-filled by your script to /etc/masternodes/darknet_n1.conf Any ideas? (I did tick the IPv6 option when I deployed this Ubu 16.04 server on Vultr) Haven't played with ipv6 much myself, but the first thing to check would be running "ifconfig" (if you use debian it is not in the path if you are not root so then you need to run "/sbin/ifconfig". Check that the range of ipv6 addresses you are using exists and is bound to an external interface for your host. Your service probider hopefully has some documentation. If not, I think Digital Ocean might have some documentation that you could adapt.
|
|
|
|
DRPD
Legendary
Offline
Activity: 1148
Merit: 1001
|
|
September 01, 2016, 12:07:26 PM |
|
Cool. I used your option 4 to get the CLI working but got this message. darknet-cli -rpcport=4441 -rpcuser=xxxxxx -rpcpassword=xxxxxx -conf=etc/masternodes/darknet_n1.conf masternode status error: couldn't connect to server So I checked debug log and found this: (I masked the IP) 2016-09-01 00:01:04 Unable to bind to [2001:xxxx:xxxx:1a7::1]:9999 on this computer (bind returned error Cannot assign requested address (99)) 2016-09-01 00:01:04 Error: Failed to listen on any port. Use -listen=0 if you want this. 2016-09-01 00:01:04 PrepareShutdown: In progress...
That's the IP that was pre-filled by your script to /etc/masternodes/darknet_n1.conf Any ideas? (I did tick the IPv6 option when I deployed this Ubu 16.04 server on Vultr) hmm not sure about you problem. i noticed that only instance1 was running on my server and instance 2-5 could not be started. so i deleted the whole server on vultr -> new server -> running dnet_vps.sh again -> editing masternode.conf on controller wallet (new ipv6 adresses) -> editing priv key on all darknet_n$.conf files -> running /usr/local/bin/restart_masternodes.sh -> bingo all instances up and working (synching atm). i have absolutely no idea what i did wrong the first time
|
|
|
|
borris123
|
|
September 01, 2016, 12:13:56 PM |
|
......
1. Is there a way to specify the darknet-cli to a particular MN wallet instance? e.g. To check the getinfo, masternode status, stop, start darknetd for each MN instance.
indeed that would be helpful Yeah. I just started one via my controller wallet but I have no idea how to check if that masternode instance on my vultr node is good or not. Multiple ways to do that. Initially, you want to look at the individual debug log files in /var/lib/masternodes/. Then 1 The easiest obviously on the Controller wallet itself by running "masternode list-conf" 2 OR on the vultr system with "systemctl status darknet_$nodenumber 3 OR external check with uptimerobot 4 OR connect with darknet-cli to your local masternode instance (specify the listening port, rpc username and password) Combine for the best effect. That being said, if the process itself is stuck or killed and/or the vultr instance is rebooted, the operating systems init subsystem itself will start / restart it automatically. what updates are expected in this new version of your script? Update to latest wallet script for all instances? Very interesting keeping an eye on it. Havent tried it yet was just going to wait for new version which you said would be easier.
|
|
|
|
jakiman
Legendary
Offline
Activity: 1638
Merit: 1011
jakiman is back!
|
|
September 01, 2016, 01:00:11 PM |
|
Yeah. I've destroyed my server and now deployed a new one and starting again. I'll see how I go.
|
|
|
|
mxnsch
|
|
September 01, 2016, 04:00:29 PM |
|
Yeah. I've destroyed my server and now deployed a new one and starting again. I'll see how I go. The reason is probably a fucked up /etc/network/interfaces file. It is more robust in the next release, but still not foolproof. A later release will be, but want to collect some more bugs and requirements with the current scripts before investing 1-2 man-weeks of programming. Be assured it will be the best tool available by far at the point of release. Ps.: Somebody asked how DNET is upgraded when using my script. It's almost brain dead - replace the binaries in /usr/local/bin/ after a git pull and make in /opt/code/Darknet.
|
██ ███ nope ██ ███
|
|
|
jakiman
Legendary
Offline
Activity: 1638
Merit: 1011
jakiman is back!
|
|
September 01, 2016, 09:15:51 PM |
|
Yeah. I found that the 5 x IPv6 addresses weren't bound to ens3. After running the script on a new server, I could see them bound. Now all 5 wallets are running! Thanks for all your hard work!
|
|
|
|
|
borris123
|
|
September 01, 2016, 09:24:54 PM |
|
What's next on the cards?
|
|
|
|
borris123
|
|
September 01, 2016, 09:30:31 PM |
|
Yeah. I found that the 5 x IPv6 addresses weren't bound to ens3. After running the script on a new server, I could see them bound. Now all 5 wallets are running! Thanks for all your hard work! How many can you get running without problems on these servers? If you got more than 5 nodes would a larger server be more cost efficient? Bit of testing on that be good. Always looking to save abit
|
|
|
|
jakiman
Legendary
Offline
Activity: 1638
Merit: 1011
jakiman is back!
|
|
September 01, 2016, 10:49:59 PM Last edit: September 01, 2016, 11:28:18 PM by jakiman |
|
Yeah. I found that the 5 x IPv6 addresses weren't bound to ens3. After running the script on a new server, I could see them bound. Now all 5 wallets are running! Thanks for all your hard work! How many can you get running without problems on these servers? If you got more than 5 nodes would a larger server be more cost efficient? Bit of testing on that be good. Always looking to save abit I just assumed up to 5 is okay as mxnsch said it costs only $1 per MN. He did mention before that approx. 120MB of RAM is needed per MN. Going by that, bigger Vultr server isn't better value from what I can see. Edit: Looking at my Vultr server usage graphs, with 1 MN started and 4 other wallets syncing, CPU usage is quite high (90-100%). RAM usage wise, with 5 wallets running (4 syncing), server only has approx. 50MB free out of 768MB total. See top output below. I'll see how it is once I start up more MNs. KiB Mem : 758164 total, 61776 free, 652140 used, 44248 buff/cache KiB Swap: 3071996 total, 2582508 free, 489488 used. 19084 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 9488 mastern+ 20 0 912828 184720 1820 S 23.3 24.4 27:32.56 darknetd 9548 mastern+ 20 0 910800 163696 2664 S 22.9 21.6 27:03.62 darknetd 9458 mastern+ 20 0 912460 153128 2112 S 21.3 20.2 27:07.99 darknetd 9518 mastern+ 20 0 912000 94788 2700 S 14.3 12.5 27:22.54 darknetd 28 root 20 0 0 0 0 S 9.6 0.0 1:28.59 kswapd0 9373 mastern+ 20 0 924608 30336 2996 S 6.0 4.0 24:13.32 darknetd Edit: Just started another MN. So 2 MN running and 3 others are synced now. CPU usage dropped significantly. Looks like 5-6 is max going by memory usage. KiB Mem : 758164 total, 54116 free, 661008 used, 43040 buff/cache KiB Swap: 3071996 total, 2472100 free, 599896 used. 10844 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 9373 mastern+ 20 0 924608 102480 3820 S 1.7 13.5 24:24.19 darknetd 9488 mastern+ 20 0 912828 145152 2160 S 1.7 19.1 28:25.96 darknetd 9518 mastern+ 20 0 912000 119656 3524 S 1.7 15.8 27:48.28 darknetd 9458 mastern+ 20 0 912616 138052 440 S 1.0 18.2 29:39.98 darknetd 9548 mastern+ 20 0 909744 125616 3568 S 0.7 16.6 30:03.42 darknetd
|
|
|
|
4x13 (OP)
Legendary
Offline
Activity: 1078
Merit: 1011
|
|
September 01, 2016, 11:33:41 PM |
|
What's next on the cards? We have some cleanup work and a few tweaks to do, then we will be concentrating on the Anon Transaction...
|
|
|
|
borris123
|
|
September 01, 2016, 11:42:13 PM |
|
Yeah. I found that the 5 x IPv6 addresses weren't bound to ens3. After running the script on a new server, I could see them bound. Now all 5 wallets are running! Thanks for all your hard work! How many can you get running without problems on these servers? If you got more than 5 nodes would a larger server be more cost efficient? Bit of testing on that be good. Always looking to save abit I just assumed up to 5 is okay as mxnsch said it costs only $1 per MN. He did mention before that approx. 120MB of RAM is needed per MN. Going by that, bigger Vultr server isn't better value from what I can see. Edit: Looking at my Vultr server usage graphs, with 1 MN started and 4 other wallets syncing, CPU usage is quite high (90-100%). RAM usage wise, with 5 wallets running (4 syncing), server only has approx. 50MB free out of 768MB total. See top output below. I'll see how it is once I start up more MNs. KiB Mem : 758164 total, 61776 free, 652140 used, 44248 buff/cache KiB Swap: 3071996 total, 2582508 free, 489488 used. 19084 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 9488 mastern+ 20 0 912828 184720 1820 S 23.3 24.4 27:32.56 darknetd 9548 mastern+ 20 0 910800 163696 2664 S 22.9 21.6 27:03.62 darknetd 9458 mastern+ 20 0 912460 153128 2112 S 21.3 20.2 27:07.99 darknetd 9518 mastern+ 20 0 912000 94788 2700 S 14.3 12.5 27:22.54 darknetd 28 root 20 0 0 0 0 S 9.6 0.0 1:28.59 kswapd0 9373 mastern+ 20 0 924608 30336 2996 S 6.0 4.0 24:13.32 darknetd Edit: Just started another MN. So 2 MN running and 3 others are synced now. CPU usage dropped significantly. Looks like 5-6 is max going by memory usage. KiB Mem : 758164 total, 54116 free, 661008 used, 43040 buff/cache KiB Swap: 3071996 total, 2472100 free, 599896 used. 10844 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 9373 mastern+ 20 0 924608 102480 3820 S 1.7 13.5 24:24.19 darknetd 9488 mastern+ 20 0 912828 145152 2160 S 1.7 19.1 28:25.96 darknetd 9518 mastern+ 20 0 912000 119656 3524 S 1.7 15.8 27:48.28 darknetd 9458 mastern+ 20 0 912616 138052 440 S 1.0 18.2 29:39.98 darknetd 9548 mastern+ 20 0 909744 125616 3568 S 0.7 16.6 30:03.42 darknetd
Cool ty for information. Waiting on the next release till have ago as he said it would be easier and hopefully more reliable. Cheapest going to get them by looks of it.
|
|
|
|
cryptotech
|
|
September 02, 2016, 02:05:58 AM Last edit: October 03, 2016, 05:29:18 PM by cryptotech |
|
New Faucet Added You must first register to use faucets. More faucets will be added soon. If you would like your coin to have a faucet on TheCryptoChat contact us. | DarkNet | | | | Up to 0.5 DNET every 60 minutes |
|
|
|
|
|