2018-03-26 12:52:19 +00:00
|
|
|
package params
|
|
|
|
|
2018-04-20 12:23:18 +00:00
|
|
|
type cluster struct {
|
|
|
|
NetworkID int `json:"networkID"`
|
2018-03-26 12:52:19 +00:00
|
|
|
StaticNodes []string `json:"staticnodes"`
|
2018-04-20 12:23:18 +00:00
|
|
|
BootNodes []string `json:"bootnodes"`
|
2018-03-26 12:52:19 +00:00
|
|
|
}
|
|
|
|
|
2018-04-20 12:23:18 +00:00
|
|
|
var ropstenCluster = cluster{
|
2018-03-26 12:52:19 +00:00
|
|
|
NetworkID: 3,
|
2018-05-14 05:24:49 +00:00
|
|
|
BootNodes: []string{
|
2018-06-11 09:02:53 +00:00
|
|
|
"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
|
2018-06-11 10:37:43 +00:00
|
|
|
"enode://7427dfe38bd4cf7c58bb96417806fab25782ec3e6046a8053370022cbaa281536e8d64ecd1b02e1f8f72768e295d06258ba43d88304db068e6f2417ae8bcb9a6@104.154.88.123:30404", // boot-01.gc-us-central1-a.eth.beta
|
|
|
|
"enode://ebefab39b69bbbe64d8cd86be765b3be356d8c4b24660f65d493143a0c44f38c85a257300178f7845592a1b0332811542e9a58281c835babdd7535babb64efc1@35.202.99.224:30404", // boot-02.gc-us-central1-a.eth.beta
|
2018-05-14 05:24:49 +00:00
|
|
|
},
|
2018-04-20 12:23:18 +00:00
|
|
|
StaticNodes: []string{
|
2018-07-12 12:58:12 +00:00
|
|
|
"enode://a6a2a9b3a7cbb0a15da74301537ebba549c990e3325ae78e1272a19a3ace150d03c184b8ac86cc33f1f2f63691e467d49308f02d613277754c4dccd6773b95e8@206.189.243.176:30304", // node-01.do-ams3.eth.beta
|
|
|
|
"enode://207e53d9bf66be7441e3daba36f53bfbda0b6099dba9a865afc6260a2d253fb8a56a72a48598a4f7ba271792c2e4a8e1a43aaef7f34857f520c8c820f63b44c8@35.224.15.65:30304", // node-01.gc-us-central1-a.eth.beta
|
2018-04-20 12:23:18 +00:00
|
|
|
},
|
2018-03-26 12:52:19 +00:00
|
|
|
}
|
|
|
|
|
2018-04-20 12:23:18 +00:00
|
|
|
var rinkebyCluster = cluster{
|
2018-03-26 12:52:19 +00:00
|
|
|
NetworkID: 4,
|
2018-04-20 12:23:18 +00:00
|
|
|
BootNodes: []string{
|
|
|
|
"enode://1b843c7697f6fc42a1f606fb3cfaac54e025f06789dc20ad9278be3388967cf21e3a1b1e4be51faecd66c2c3adef12e942b4fcdeb8727657abe60636efb6224f@206.189.6.46:30404",
|
|
|
|
"enode://b29100c8468e3e6604817174a15e4d71627458b0dcdbeea169ab2eb4ab2bbc6f24adbb175826726cec69db8fdba6c0dd60b3da598e530ede562180d300728659@206.189.6.48:30404",
|
|
|
|
},
|
|
|
|
StaticNodes: []string{
|
2018-05-18 15:35:36 +00:00
|
|
|
"enode://ff1d6ac1c1d79fe060137d217ad26e372b6dea3d53690677e231000334f6e71c0b720000b6f79edb1e1100c172c1df85a3f05867e4f0716e7ff7fbc47327898b@51.15.75.244:30303",
|
|
|
|
"enode://6a1e9b88da1cb5e55e9174c21d3808800671c342416e90edd181341b5c2192a9a6189a770a69ae7cf24dd97cb1322f9b56d8093549a2bf944b3baaa6ccaa9ba9@51.15.68.93:30303",
|
2018-03-26 12:52:19 +00:00
|
|
|
"enode://ba41aa829287a0a9076d9bffed97c8ce2e491b99873288c9e886f16fd575306ac6c656db4fbf814f5a9021aec004ffa9c0ae8650f92fd10c12eeb7c364593eb3@51.15.69.147:30303",
|
|
|
|
"enode://28ecf5272b560ca951f4cd7f1eb8bd62da5853b026b46db432c4b01797f5b0114819a090a72acd7f32685365ecd8e00450074fa0673039aefe10f3fb666e0f3f@51.15.76.249:30303",
|
2018-04-20 12:23:18 +00:00
|
|
|
},
|
2018-03-26 12:52:19 +00:00
|
|
|
}
|
|
|
|
|
2018-04-20 12:23:18 +00:00
|
|
|
var mainnetCluster = cluster{
|
2018-03-26 12:52:19 +00:00
|
|
|
NetworkID: 1,
|
2018-05-14 05:24:49 +00:00
|
|
|
BootNodes: []string{
|
2018-06-11 09:02:53 +00:00
|
|
|
"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
|
2018-06-11 10:37:43 +00:00
|
|
|
"enode://7427dfe38bd4cf7c58bb96417806fab25782ec3e6046a8053370022cbaa281536e8d64ecd1b02e1f8f72768e295d06258ba43d88304db068e6f2417ae8bcb9a6@104.154.88.123:30404", // boot-01.gc-us-central1-a.eth.beta
|
|
|
|
"enode://ebefab39b69bbbe64d8cd86be765b3be356d8c4b24660f65d493143a0c44f38c85a257300178f7845592a1b0332811542e9a58281c835babdd7535babb64efc1@35.202.99.224:30404", // boot-02.gc-us-central1-a.eth.beta
|
2018-05-14 05:24:49 +00:00
|
|
|
},
|
2018-04-20 12:23:18 +00:00
|
|
|
StaticNodes: []string{
|
2018-07-12 12:58:12 +00:00
|
|
|
"enode://a6a2a9b3a7cbb0a15da74301537ebba549c990e3325ae78e1272a19a3ace150d03c184b8ac86cc33f1f2f63691e467d49308f02d613277754c4dccd6773b95e8@206.189.243.176:30304", // node-01.do-ams3.eth.beta
|
|
|
|
"enode://207e53d9bf66be7441e3daba36f53bfbda0b6099dba9a865afc6260a2d253fb8a56a72a48598a4f7ba271792c2e4a8e1a43aaef7f34857f520c8c820f63b44c8@35.224.15.65:30304", // node-01.gc-us-central1-a.eth.beta
|
2018-04-20 12:23:18 +00:00
|
|
|
},
|
2018-03-26 12:52:19 +00:00
|
|
|
}
|
|
|
|
|
2018-04-20 12:23:18 +00:00
|
|
|
var defaultClusters = []cluster{ropstenCluster, rinkebyCluster, mainnetCluster}
|