[devnet] updated pangaea network configuration for devnet usage

Signed-off-by: Leo Chen <leo@harmony.one>
pull/1872/head
Leo Chen 5 years ago
parent 422d2858c4
commit ffe6f028d8
  1. 6
      internal/configs/sharding/pangaea.go

@ -9,9 +9,9 @@ import (
const ( const (
// PangaeaHTTPPattern is the http pattern for pangaea. // PangaeaHTTPPattern is the http pattern for pangaea.
PangaeaHTTPPattern = "https://api.s%d.pga.hmny.io" PangaeaHTTPPattern = "https://api.s%d.p.hmny.io"
// PangaeaWSPattern is the websocket pattern for pangaea. // PangaeaWSPattern is the websocket pattern for pangaea.
PangaeaWSPattern = "wss://ws.s%d.pga.hmny.io" PangaeaWSPattern = "wss://ws.s%d.p.hmny.io"
) )
// PangaeaSchedule is the Pangaea sharding configuration schedule. // PangaeaSchedule is the Pangaea sharding configuration schedule.
@ -51,7 +51,7 @@ func (ps pangaeaSchedule) ConsensusRatio() float64 {
var pangaeaReshardingEpoch = []*big.Int{common.Big0} var pangaeaReshardingEpoch = []*big.Int{common.Big0}
var pangaeaV0 = MustNewInstance( var pangaeaV0 = MustNewInstance(
4, 250, 20, genesis.PangaeaAccounts, genesis.FoundationalPangaeaAccounts, pangaeaReshardingEpoch) 2, 50, 41, genesis.PangaeaAccounts, genesis.FoundationalPangaeaAccounts, pangaeaReshardingEpoch)
// TODO: remove it after randomness feature turned on mainnet // TODO: remove it after randomness feature turned on mainnet
//RandonnessStartingEpoch returns starting epoch of randonness generation //RandonnessStartingEpoch returns starting epoch of randonness generation

Loading…
Cancel
Save