diff options
author | Wei-Ning Huang <w@dexon.org> | 2019-03-11 15:47:29 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:27:22 +0800 |
commit | 04cb64b849988c1cf71fd66a3142f01e8ba7cb23 (patch) | |
tree | 1e31ce72bf75a0e81ff95b9bcf7b4d6db26cfa98 /cmd | |
parent | a03655ca09836a282db33fadf2fcd78d898364a4 (diff) | |
download | go-tangerine-04cb64b849988c1cf71fd66a3142f01e8ba7cb23.tar.gz go-tangerine-04cb64b849988c1cf71fd66a3142f01e8ba7cb23.tar.zst go-tangerine-04cb64b849988c1cf71fd66a3142f01e8ba7cb23.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 'cmd')
-rw-r--r-- | cmd/gdex/dao_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/gdex/dao_test.go b/cmd/gdex/dao_test.go index 9a768c3fc..1e8cfc487 100644 --- a/cmd/gdex/dao_test.go +++ b/cmd/gdex/dao_test.go @@ -77,7 +77,7 @@ var daoProForkGenesis = `{ } }` -var daoGenesisHash = common.HexToHash("0x917e74766af045b81b7e45650fc40af9bd41282eaaac7ec3f89d8f10d82f434e") +var daoGenesisHash = common.HexToHash("0xa530369e97a85c4f3522bf5e89be851b00aac7c30080c4ca624ce7c4ff5c9a80") var daoGenesisForkBlock = big.NewInt(314) // TestDAOForkBlockNewChain tests that the DAO hard-fork number and the nodes support/opposition is correctly |