diff options
author | Wei-Ning Huang <w@dexon.org> | 2019-03-11 15:47:29 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:57 +0800 |
commit | 22325afbf6dfd179f074018fab4866a0c56a3e6a (patch) | |
tree | 9cffb79b5265351ee64d6631ae933224119ec33a /eth/helper_test.go | |
parent | abcb28c8854c74942dd731f971dff2128fe0084f (diff) | |
download | dexon-22325afbf6dfd179f074018fab4866a0c56a3e6a.tar.gz dexon-22325afbf6dfd179f074018fab4866a0c56a3e6a.tar.zst dexon-22325afbf6dfd179f074018fab4866a0c56a3e6a.zip |
core: vm: remove delegation mechanism (#245)
The current delegation mechanism are prone to unstaking attack. i.e. a
malicious attacker could unstake a small amount from a lot of node it
staked before and make them unqualified, which leads to potential
failure of the network.
Since DEXON does not use consensus like DPoS, node is required to have
at least MinStake in order to become a node. Voting mechanism is not
required in our system since qualified node does not depends on the
number of votes. Instead of managing the delegation mechanism in
governance contract, we should let the owner manage the delegation and
reward distribution mechanism on their own.
Diffstat (limited to 'eth/helper_test.go')
0 files changed, 0 insertions, 0 deletions