cmd/polaris/common/consts.go
/*
* @file
* @copyright defined in aergo/LICENSE.txt
*/
package common
import "github.com/aergoio/aergo/v2/types"
var (
// 89.16 is ceiling of declination of Polaris
MainnetMapServer = []string{
"/dns4/mainnet-polaris.aergo.io/tcp/8916/p2p/16Uiu2HAkuxyDkMTQTGFpmnex2SdfTVzYfPztTyK339rqUdsv3ZUa",
}
// 89.16 is ceiling of declination of Polaris
TestnetMapServer = []string{
"/dns4/polaris.aergo.io/tcp/8916/p2p/16Uiu2HAkvJTHFuJXxr15rFEHsJWnyn1QvGatW2E9ED9Mvy4HWjVF",
}
// Hardcoded chainID of ONE MAINNET and ONE TESTNET
ONEMainNet types.ChainID
ONETestNet types.ChainID
)
func init() {
mnGen := types.GetMainNetGenesis()
if mnGen == nil {
panic("Failed to get MainNet GenesisInfo")
}
ONEMainNet = mnGen.ID
tnGen := types.GetTestNetGenesis()
if tnGen == nil {
panic("Failed to get TestNet GenesisInfo")
}
ONETestNet = tnGen.ID
}