BuildOnViction / tomochain-v1

The efficient blockchain for the token economy
https://tomochain.com
GNU Lesser General Public License v3.0
51 stars 22 forks source link

Simple slashing to the game #182

Closed ngtuna closed 6 years ago

ngtuna commented 6 years ago

We have been thinking about slashing for a while. The idea is not trying to blame unstable masternodes but maintaining a stable network. Right now if one masternode fails to produce a block on his turn, network will be delayed in 12 seconds (2 seconds of block-time and 10 seconds timeout). A worse case: when a masternode doesn't get involved in any block within epoch, of course he won't receive any reward (neither his voters) but network will be affected by not only some delaying but reducing the probability of block finality. Definitely we don't encourage that. On the other side, a big advantage of POSV consensus is mostly removing double spending attack in the system. Thus, we are currently trying to mitigate the first case. Ideas will come by more research.

For now, we want to inject a simple slashing to the system as below:

ngtuna commented 6 years ago

Some adjustments after discussion today:

ngtuna commented 6 years ago

Need to solve this below case as well:

ngtuna commented 6 years ago

Need to solve this below case as well: two MNs running with the same registered candidate account.

This case will be mitigated separately at this #191

phamvancam2104 commented 6 years ago

4 epochs after being kicked out of the masternode list, does the kicked masternode still remain its masternode position, even if it is not in the top 150 most voted candidates?

ngtuna commented 6 years ago

closed via #212