aboutsummaryrefslogtreecommitdiffstats
path: root/params
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2019-03-11 15:47:29 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-12 17:27:22 +0800
commit04cb64b849988c1cf71fd66a3142f01e8ba7cb23 (patch)
tree1e31ce72bf75a0e81ff95b9bcf7b4d6db26cfa98 /params
parenta03655ca09836a282db33fadf2fcd78d898364a4 (diff)
downloadgo-tangerine-04cb64b849988c1cf71fd66a3142f01e8ba7cb23.tar
go-tangerine-04cb64b849988c1cf71fd66a3142f01e8ba7cb23.tar.gz
go-tangerine-04cb64b849988c1cf71fd66a3142f01e8ba7cb23.tar.bz2
go-tangerine-04cb64b849988c1cf71fd66a3142f01e8ba7cb23.tar.lz
go-tangerine-04cb64b849988c1cf71fd66a3142f01e8ba7cb23.tar.xz
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 'params')
-rw-r--r--params/config.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/params/config.go b/params/config.go
index 38e338e37..208b6fab6 100644
--- a/params/config.go
+++ b/params/config.go
@@ -26,9 +26,9 @@ import (
// Genesis hashes to enforce below configs on.
var (
- MainnetGenesisHash = common.HexToHash("0x0894598473a31c7cd2fa64864c33ded539a8fe0c4535035851ff57c421dbdd16")
- TestnetGenesisHash = common.HexToHash("0xc5c55f7f0211bab328ce33b3ecbffd115464b70fd019cab1b21aa632d54e83fe")
- YilanGenesisHash = common.HexToHash("0x523850d25315b5d0fc368b2219236e3e88a9dd544afe699b908d71d5ebd45de3")
+ MainnetGenesisHash = common.HexToHash("0xcf52354de5cb9e38930ef7db9a5fba771d9ac1738398ba3495d2a22897ff64d4")
+ TestnetGenesisHash = common.HexToHash("0x7ffc113d55e3a43f071b7475efc8eb6a866c723c5b3b2ebc7e4657a8f80d2f6c")
+ YilanGenesisHash = common.HexToHash("0x35c657b55ee61ffb9b4dbbea43507693da612a0bc89b8713f6865cfd3ed5f2e9")
)
// TrustedCheckpoints associates each known checkpoint with the genesis hash of