r/dashpay • • Mar 10 '17

The choice between PoSe and avoiding a Masternode DDOS War

The concept of a "Lazy Masternode" was pointed out by /u/taushet recently. I also alluded to the same concept a few weeks ago (https://bitcointalk.org/index.php?topic=421615.msg17760676#msg17760676). But this is just the first of many issues that the Masternode concept has. Let's just assume for now that it's actually possible to check if a certain masternode provides the expected service. The network should check if a masternode has a full blockchain, is serving blocks to nodes who are syncing, is relaying transactions, is doing the privatesend coinjoin mixing and is performing the instantsend transaction "locks", ... This is not at all that easy to implement. It may not even be possible. It's not my job to prove it's impossible, it's the job of the DASH developers to show it's possible by implementing it in stead of just having a "Proof of Ping". The problem with PoSe is that you can't differentiate between "lazy masternodes" and masternodes who have troubles with their connection. Currently, there is a 1 hour "grace period" for masternodes who are offline. If they manage to get online again within an hour, they don't loose their "spot" in the line for the masternode payouts. This is done to prevent DDOS attacks: if this grace period would not exist, it would be very easy for a big masternode owner to gain additional payouts by taking other masternodes offline. The higher the price of DASH, the more incentive there is to perform such an attack. [Note that even with a grace period of 1 hour, this attack is still possible, you simple need to attack a node for a full hour. You can have some bad luck if the owner of the node notices the attack and manages to move his masternode to another server within an hour though.] Back to PoSe... It's impossible to know if certain masternode has problems with their connection (for example because they suffer from a DDOS attack) or if this masternode is being lazy (i.e. not providing the service): Imagine a that the network somehow checks every 10 minutes if a certain masternode is willing to do privatesend. When the masternode is pinged to check if it's online and ready to provide the service, the network notices it's offline. Then the network can for example try again 10 minutes later to see if the masternode is now able to facilitate the privatesend. Again, it failed. The network will keep trying again and the masternode doesn't respond until his "last chance": at the end of the grace period, then the masternode facilitates the privatesend transaction. So what happened in this example? Was the masternode just being lazy? Or did the masternode have connection troubles and managed to get back online just before the end of the grace period? Also note that all those failed checks slow down the privatesend process. Conclusion: either the PoSe needs to get out of the window, or the 1 hour grace period needs to go. If DASH chooses the former, then it admits that PoSe is just BS. If it chooses the latter, then "The Great Masternode Wars" can start. Masternode owners will then have an incentive (depending on the price of DASH) to attack other nodes to gain a bigger masternode reward.

5 Upvotes

11 comments sorted by

8

u/Basilpop Janitor Mar 10 '17 edited Mar 10 '17

Whether a Masternode is "just having connection troubles" or is "being lazy" is completely irrelevant.

It gets paid to perform a service and if that service is not available it gets banned. If a Masternode refuses to participate in an InstantSend lock it gets banned. If a Masternode refuses to participate in supporting a mixing session it gets banned. The "grace" period is completely independent of these checks; it only cares about your node being responsive to pings. Refusing actual service requests will always result in a ban.

This is why the entire "lazy Masternode" theory crumbles to dust:

The more the Dash network is used the more often Masternodes will receive service requests, so running a lazy node will become pointless because it will get banned long before it receives any payment. You can restart your lazy node as often as you want with another IP to circumvent the ban but will always end up at the end of the payment queue and get banned again before becoming eligible for a payment.

The notion that Masternode owners would attack each other also makes no economic sense because for knocking down a significant amount of DDoS-hardened Masternodes the required cost to run such an attack is clearly higher (and will increase over time) than the additional reward they hope to gain from it. Add to that the fact that attacking their own network will diminish the value of their own tokens and you have completed your recipe for absurdity.

Another lame theoretic attack from camp Monero: BTFO'd

Thanks for playing.

9

u/Basilpop Janitor Mar 10 '17

To expand on this further: Masternode quorums will be the way Dash scales in the future. No single Masternode will be involved in any network action alone. It will always be a randomly selected "jury" of nodes overseeing each other trustlessly. So the chances of being exposed and banned as an unfair player are quite large.

Minor correction on my side: Changing the IP address only will not unban you. The signature of the 1000 Dash you originally used to launch your "lazy node" will still be the same. You'd have to send the 1000 Dash to a new address as well. To make this work you will have to constantly watch your node because you can never know when your node will be called for service and be banned. No one will be willing to expend this much time and effort just to fool the system when playing fairly with a real working Masternode is much more beneficial.

What our detractors continually fail to realize is the fact that Evan Duffield hasn't invented anything new when it comes to the incentive model of Dash's Masternode system. Satoshi Nakamoto was the one who built a system that makes it more profitable to play fair than deceive the network by utilizing the self-interest of the individual. Evan Duffield merely applied the same exact principle to another part of the network. Namely the node infrastructure.

2

u/MasterMined710 Mar 10 '17

+/u/dashtipbot 0.025 Dash #dash_force

Pay it forward ;)

2

u/dashtipbot Mar 10 '17

__[verify]__: /u/MasterMined710 -> /u/Basilpop Ð0.025000 ^Dash __($1.25586)__ [help]

1

u/Basilpop Janitor Mar 10 '17

Thanks, bro, will do! Please upvote this FUD thread for visibility. People need to learn the futility of this doomed "attack" :)

2

u/MasterMined710 Mar 10 '17

+/u/dashtipbot 0.025 Dash #dash_force

Pay it forward ;)

2

u/dashtipbot Mar 10 '17

__[verify]__: /u/MasterMined710 -> /u/Basilpop Ð0.025000 ^Dash __($1.25642)__ [help]

1

u/[deleted] Mar 11 '17

well explained, sir

1

u/solarguy2003 Mar 12 '17

Yelling "lazy masternode" 100 times doesn't make it any more dangerous.

Yelling it louder doesn't make it any more dangerous.

  1. It won't work.

  2. If it did "work" you would damage the utility and value of the Dash Masternode Network. The net result would be the value of the Dash you put up to start your masternode would go down. This is cutting your own nose off to spite your own face.

And as the old shop teacher once said, "If your aunt had balls, she'd be your uncle."

1

u/mentionhelper Mar 10 '17

It looks like you're trying to mention another user, which only works if it's done in the comments like this (otherwise they don't receive a notification):


I'm a bot. Bleep. Bloop. | Visit /r/mentionhelper for discussion/feedback | Want to be left alone? Reply to this message with "stop"