Author

Topic: [ANN][PIVX] - PRIVATE INSTANT VERIFIED TRANSACTION - PROOF OF STAKE - ZEROCOIN - page 338. (Read 782375 times)

legendary
Activity: 1638
Merit: 1011
jakiman is back!
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! Grin Grin

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 Smiley

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.

Code:
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.

Code:
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
hero member
Activity: 728
Merit: 500
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! Grin Grin

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 Smiley
hero member
Activity: 728
Merit: 500
Ok everyone... Smiley

We just burned the 60k at block 279917.

http://www.presstab.pw/phpexplorer/DNET/tx.php?tx=adfc4a9bf79de2590dad54c067d0421ef8c246b3020979008251475ec9abecc0

If you look at the Total Coins in the previous block, you will see that this block is 60k less. The coins were sent as a network fee which are destroyed.

I will be posting this info and images in the OP soon.

Thanks.

What's next on the cards?
legendary
Activity: 1078
Merit: 1011
Ok everyone... Smiley

We just burned the 60k at block 279917.

http://www.presstab.pw/phpexplorer/DNET/tx.php?tx=adfc4a9bf79de2590dad54c067d0421ef8c246b3020979008251475ec9abecc0

If you look at the Total Coins in the previous block, you will see that this block is 60k less. The coins were sent as a network fee which are destroyed.

I will be posting this info and images in the OP soon.

Thanks.
legendary
Activity: 1638
Merit: 1011
jakiman is back!
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! Grin Grin
sr. member
Activity: 474
Merit: 252
Yeah. I've destroyed my server and now deployed a new one and starting again. I'll see how I go. Tongue
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.
legendary
Activity: 1638
Merit: 1011
jakiman is back!
Yeah. I've destroyed my server and now deployed a new one and starting again. I'll see how I go. Tongue
hero member
Activity: 728
Merit: 500
......

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  Smiley

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. Tongue
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.
legendary
Activity: 1148
Merit: 1001
Cool. I used your option 4 to get the CLI working but got this message.

Quote
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)

Quote
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  Tongue
full member
Activity: 165
Merit: 100
Cool. I used your option 4 to get the CLI working but got this message.

Quote
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)

Quote
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.
legendary
Activity: 1638
Merit: 1011
jakiman is back!
Cool. I used your option 4 to get the CLI working but got this message.

Quote
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)

Quote
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)
sr. member
Activity: 474
Merit: 252
......

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  Smiley

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. Tongue
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.

legendary
Activity: 1638
Merit: 1011
jakiman is back!
......

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  Smiley

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. Tongue
legendary
Activity: 1148
Merit: 1001
......

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  Smiley
sr. member
Activity: 474
Merit: 252
...
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."   Grin
Yes, but i had to confirm that explicitely. You have no idea how many times i got asked that question already....   Roll Eyes

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.
sr. member
Activity: 854
Merit: 277
liife threw a tempest at you? be a coconut !
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.

Folks here might appreciate the advanced Tor Browser Bundle torrc thread.

Posted some new example torrc settings for use with the TBB v.6.0.4 ;

- https://bitcointalksearch.org/topic/m.16104604

Cheers!

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 Smiley. variance is a b/&%.

let's wait for what the night will bring.

legendary
Activity: 1638
Merit: 1011
jakiman is back!
....
Yes, almost correct. The script is meant to be run by bash not sh. As there seems too be too much confusion already, i created a short documentation for the current implementation of the script:
https://www.dropbox.com/s/ay5uiamay24pe20/masternode-vps-VULTR_howto_v1_20160831.pdf?dl=0

Have fun!

PS.: The new version of the script with more instructions in a couple of days then.

Thanks! Really appreciate the easy to follow PDF. I got it installed now.

Just few questions if that's okay... Smiley

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?
legendary
Activity: 2646
Merit: 1722
https://youtu.be/DsAVx0u9Cw4 ... Dr. WHO < KLF
Folks here might appreciate the advanced Tor Browser Bundle torrc thread.

Posted some new example torrc settings for use with the TBB v.6.0.4 ;

- https://bitcointalksearch.org/topic/m.16104604

Cheers!
legendary
Activity: 2646
Merit: 1722
https://youtu.be/DsAVx0u9Cw4 ... Dr. WHO < KLF
...
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."   Grin
Yes, but i had to confirm that explicitely. You have no idea how many times i got asked that question already....   Roll Eyes

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 ?
sr. member
Activity: 474
Merit: 252
...
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."   Grin
Yes, but i had to confirm that explicitely. You have no idea how many times i got asked that question already....   Roll Eyes
Jump to: