|
|
|
@ -9,9 +9,9 @@ import ( |
|
|
|
|
|
|
|
|
|
const ( |
|
|
|
|
// 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 = "wss://ws.s%d.pga.hmny.io" |
|
|
|
|
PangaeaWSPattern = "wss://ws.s%d.p.hmny.io" |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
// PangaeaSchedule is the Pangaea sharding configuration schedule.
|
|
|
|
@ -51,7 +51,7 @@ func (ps pangaeaSchedule) ConsensusRatio() float64 { |
|
|
|
|
var pangaeaReshardingEpoch = []*big.Int{common.Big0} |
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
//RandonnessStartingEpoch returns starting epoch of randonness generation
|
|
|
|
|