diff options
author | Wei-Ning Huang <w@cobinhood.com> | 2018-09-04 15:59:29 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:48 +0800 |
commit | 729d20787526bc560f153ec64a88cbac710792ee (patch) | |
tree | dad8091ee243dcb5745fbfe708ffd385d72ab434 /params | |
parent | 41fd54a53f30f860953d76c90056a9c867aa803f (diff) | |
download | dexon-729d20787526bc560f153ec64a88cbac710792ee.tar.gz dexon-729d20787526bc560f153ec64a88cbac710792ee.tar.zst dexon-729d20787526bc560f153ec64a88cbac710792ee.zip |
Update testchain config and add test bootnode key
Diffstat (limited to 'params')
-rw-r--r-- | params/bootnodes.go | 5 | ||||
-rw-r--r-- | params/config.go | 12 |
2 files changed, 7 insertions, 10 deletions
diff --git a/params/bootnodes.go b/params/bootnodes.go index bdaa4a18c..348802f4d 100644 --- a/params/bootnodes.go +++ b/params/bootnodes.go @@ -33,10 +33,7 @@ var MainnetBootnodes = []string{ // TestnetBootnodes are the enode URLs of the P2P bootstrap nodes running on the // Ropsten test network. var TestnetBootnodes = []string{ - "enode://30b7ab30a01c124a6cceca36863ece12c4f5fa68e3ba9b0b51407ccc002eeed3b3102d20a88f1c1d3c3154e2449317b8ef95090e77b312d5cc39354f86d5d606@52.176.7.10:30303", // US-Azure geth - "enode://865a63255b3bb68023b6bffd5095118fcc13e79dcf014fe4e47e065c350c7cc72af2e53eff895f11ba1bbb6a2b33271c1116ee870f266618eadfc2e78aa7349c@52.176.100.77:30303", // US-Azure parity - "enode://6332792c4a00e3e4ee0926ed89e0d27ef985424d97b6a45bf0f23e51f0dcb5e66b875777506458aea7af6f9e4ffb69f43f3778ee73c81ed9d34c51c4b16b0b0f@52.232.243.152:30303", // Parity - "enode://94c15d1b9e2fe7ce56e458b9a3b672ef11894ddedd0c6f247e0f1d3487f52b66208fb4aeb8179fce6e3a749ea93ed147c37976d67af557508d199d9594c35f09@192.81.208.223:30303", // @gpip + "enode://cc61cb20ad3c6683c85d3d8f162012ec5078eefcd0dc80513ff17891dda142e421dc96bf66d337fecd2516585611f039f0e912a97a90953bb03b3e9c7bc40ff5@127.0.0.1:30301", // US-Azure geth } // RinkebyBootnodes are the enode URLs of the P2P bootstrap nodes running on the diff --git a/params/config.go b/params/config.go index 3cf86e9be..0eeba7670 100644 --- a/params/config.go +++ b/params/config.go @@ -64,13 +64,13 @@ var ( DAOForkBlock: nil, DAOForkSupport: true, EIP150Block: big.NewInt(0), - EIP150Hash: common.HexToHash("0x41941023680923e0fe4d74a34bdac8141f2540e3ae90623718e47d66d1ca4a2d"), - EIP155Block: big.NewInt(10), - EIP158Block: big.NewInt(10), - ByzantiumBlock: big.NewInt(1700000), - ConstantinopleBlock: big.NewInt(4230000), - PetersburgBlock: big.NewInt(4939394), + EIP155Block: big.NewInt(0), + EIP158Block: big.NewInt(0), + ByzantiumBlock: big.NewInt(0), + ConstantinopleBlock: big.NewInt(0), + PetersburgBlock: big.NewInt(0), Ethash: new(EthashConfig), + Dexcon: &DexconConfig{}, } // TestnetTrustedCheckpoint contains the light client trusted checkpoint for the Ropsten test network. |