status-go/params/cluster.go

54 lines
4.0 KiB
Go

package params
type cluster struct {
NetworkID int `json:"networkID"`
StaticNodes []string `json:"staticnodes"`
BootNodes []string `json:"bootnodes"`
}
var ropstenCluster = cluster{
NetworkID: 3,
BootNodes: []string{
"enode://436cc6f674928fdc9a9f7990f2944002b685d1c37f025c1be425185b5b1f0900feaf1ccc2a6130268f9901be4a7d252f37302c8335a2c1a62736e9232691cc3a@174.138.105.243:30404", // boot-01.do-ams3.eth.beta
"enode://5395aab7833f1ecb671b59bf0521cf20224fe8162fc3d2675de4ee4d5636a75ec32d13268fc184df8d1ddfa803943906882da62a4df42d4fccf6d17808156a87@206.189.243.57:30404", // boot-02.do-ams3.eth.beta
"enode://f9c7d50832fd42a15157f4150b1ce3d306b8dc192fe4e3dbeb1761c8913a61fc62ed752235ccf5759c57b9b1c3634e57ad19e5d9e13b79f317f4ef16e6847d9b@35.202.99.224:30404", // boot-01.gc-us-central1-a.eth.beta
"enode://e81a60977e5e420c8dcdda4b5d2b419f629dd9f630f6db71daaf84364927c341db6d4fa9c509ebebb9a5cd967b2c2ed9f67489dae3ba17d5e4edf71a13b3be6b@104.154.154.58:30404", // boot-02.gc-us-central1-a.eth.beta
"enode://a7a0e0961b971db2b217bb494c844fa39ca8a3422537e07451265e55208ec757f6c3a13b888169c8b14f584ab3bda1fd134cf316f236b61a5b719138bc42e801@185.156.42.129:30404", // boot-03.eth.beta
},
StaticNodes: []string{
"enode://a6a2a9b3a7cbb0a15da74301537ebba549c990e3325ae78e1272a19a3ace150d03c184b8ac86cc33f1f2f63691e467d49308f02d613277754c4dccd6773b95e8@206.189.108.68:30304",
"enode://a1a8e2416266020e168a2257851cdb59cd951e822655730dc1bbd50adb892a6444987d3baece727ae83600e1db8db49a707012b7ebe6fd4eb3e350166fe55579@206.189.108.62:30304",
},
}
var rinkebyCluster = cluster{
NetworkID: 4,
BootNodes: []string{
"enode://1b843c7697f6fc42a1f606fb3cfaac54e025f06789dc20ad9278be3388967cf21e3a1b1e4be51faecd66c2c3adef12e942b4fcdeb8727657abe60636efb6224f@206.189.6.46:30404",
"enode://b29100c8468e3e6604817174a15e4d71627458b0dcdbeea169ab2eb4ab2bbc6f24adbb175826726cec69db8fdba6c0dd60b3da598e530ede562180d300728659@206.189.6.48:30404",
},
StaticNodes: []string{
"enode://ff1d6ac1c1d79fe060137d217ad26e372b6dea3d53690677e231000334f6e71c0b720000b6f79edb1e1100c172c1df85a3f05867e4f0716e7ff7fbc47327898b@51.15.75.244:30303",
"enode://6a1e9b88da1cb5e55e9174c21d3808800671c342416e90edd181341b5c2192a9a6189a770a69ae7cf24dd97cb1322f9b56d8093549a2bf944b3baaa6ccaa9ba9@51.15.68.93:30303",
"enode://ba41aa829287a0a9076d9bffed97c8ce2e491b99873288c9e886f16fd575306ac6c656db4fbf814f5a9021aec004ffa9c0ae8650f92fd10c12eeb7c364593eb3@51.15.69.147:30303",
"enode://28ecf5272b560ca951f4cd7f1eb8bd62da5853b026b46db432c4b01797f5b0114819a090a72acd7f32685365ecd8e00450074fa0673039aefe10f3fb666e0f3f@51.15.76.249:30303",
},
}
var mainnetCluster = cluster{
NetworkID: 1,
BootNodes: []string{
"enode://436cc6f674928fdc9a9f7990f2944002b685d1c37f025c1be425185b5b1f0900feaf1ccc2a6130268f9901be4a7d252f37302c8335a2c1a62736e9232691cc3a@174.138.105.243:30404", // boot-01.do-ams3.eth.beta
"enode://5395aab7833f1ecb671b59bf0521cf20224fe8162fc3d2675de4ee4d5636a75ec32d13268fc184df8d1ddfa803943906882da62a4df42d4fccf6d17808156a87@206.189.243.57:30404", // boot-02.do-ams3.eth.beta
"enode://f9c7d50832fd42a15157f4150b1ce3d306b8dc192fe4e3dbeb1761c8913a61fc62ed752235ccf5759c57b9b1c3634e57ad19e5d9e13b79f317f4ef16e6847d9b@35.202.99.224:30404", // boot-01.gc-us-central1-a.eth.beta
"enode://e81a60977e5e420c8dcdda4b5d2b419f629dd9f630f6db71daaf84364927c341db6d4fa9c509ebebb9a5cd967b2c2ed9f67489dae3ba17d5e4edf71a13b3be6b@104.154.154.58:30404", // boot-02.gc-us-central1-a.eth.beta
"enode://a7a0e0961b971db2b217bb494c844fa39ca8a3422537e07451265e55208ec757f6c3a13b888169c8b14f584ab3bda1fd134cf316f236b61a5b719138bc42e801@185.156.42.129:30404", // boot-03.eth.beta
},
StaticNodes: []string{
"enode://93d67ae104ab9f28afa253942c7f7efeac300fb2b2cce6e59e661b0781b94365c0d987498022d0a338e7497786cfe5d3fe891173109319b4f92bc7c6df504f73@206.189.108.76:30304",
"enode://7500e64a9a3b1dd1321da0c7fe725af038d82b20a028b5aeeddd4e52d4f682705f2838cc427937b1f20190cd4a1ea1f0850c6bd9317c08de8b368eb869f575a5@206.189.108.50:30304",
},
}
var defaultClusters = []cluster{ropstenCluster, rinkebyCluster, mainnetCluster}