aboutsummaryrefslogtreecommitdiffstats
path: root/params
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2019-03-17 10:43:10 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-12 17:27:23 +0800
commit5f64e1d10d620a8a299ff3a40695f26107f157c5 (patch)
treee28e2bf073ac7da8417e5b0789d2d0713e240ae7 /params
parent9493109f2be4507605e6b17e406bf8fd147ab3c8 (diff)
downloadgo-tangerine-5f64e1d10d620a8a299ff3a40695f26107f157c5.tar
go-tangerine-5f64e1d10d620a8a299ff3a40695f26107f157c5.tar.gz
go-tangerine-5f64e1d10d620a8a299ff3a40695f26107f157c5.tar.bz2
go-tangerine-5f64e1d10d620a8a299ff3a40695f26107f157c5.tar.lz
go-tangerine-5f64e1d10d620a8a299ff3a40695f26107f157c5.tar.xz
go-tangerine-5f64e1d10d620a8a299ff3a40695f26107f157c5.tar.zst
go-tangerine-5f64e1d10d620a8a299ff3a40695f26107f157c5.zip
core: fill in genesis timstamp and remove dMoment from protocol handshake (#263)
Fill in dmoment as genesis block timestamp. This allow us to remove dMoment check from protocol handshake since genesis block hash itself will protect us against different dMoment.
Diffstat (limited to 'params')
-rw-r--r--params/config.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/params/config.go b/params/config.go
index 4eefc8f08..a6390c671 100644
--- a/params/config.go
+++ b/params/config.go
@@ -26,9 +26,10 @@ import (
// Genesis hashes to enforce below configs on.
var (
- MainnetGenesisHash = common.HexToHash("0x90f3ee1749d01fe355e8f3e72d2851df4424a0eeb1a97bd49df6d18206726100")
- TestnetGenesisHash = common.HexToHash("0x736a4d8f7cb6756c239ef0cb7b788fb500f9fec186eb1c29a735556ffd2a965a")
- YilanGenesisHash = common.HexToHash("0x35c657b55ee61ffb9b4dbbea43507693da612a0bc89b8713f6865cfd3ed5f2e9")
+ MainnetGenesisHash = common.HexToHash("0xc3320be1e1e83f6e2116ec3f46966502a09655d8939967450c345507350bedc8")
+ TestnetGenesisHash = common.HexToHash("0xe338c08039a92fb146c4af646ecbae4a50aac048249894d4eebb2c54ab369e06")
+ TaipeiGenesisHash = common.HexToHash("0xc7bef94f43a1350da382b67d0bc7dd32ceb30b7c33820afc74c3716a2189a1e4")
+ YilanGenesisHash = common.HexToHash("0xae0aac389776b6e35aff2569a2b9be234f6703a5c923e48cf42edffa7c1a24fc")
)
// TrustedCheckpoints associates each known checkpoint with the genesis hash of