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{
|
|
|
|
"enode://f32efef2739e5135a0f9a80600b321ba4d13393a5f1d3f5f593df85919262f06c70bfa66d38507b9d79a91021f5e200ec20150592e72934c66248e87014c4317@167.99.209.79:30404",
|
|
|
|
"enode://90d7e7e34f588b44e1e07adfc6453b0d27946883420a012a837f6acfa66cbb28e6e8b5df3c0e26615ed82b32273453b1b003e4aa5c0d357ada30bde8f666db47@167.99.46.141:30404",
|
|
|
|
},
|
2018-04-20 12:23:18 +00:00
|
|
|
StaticNodes: []string{
|
2018-03-26 12:52:19 +00:00
|
|
|
"enode://dffef3874011709b12d1e540d83ddb19a9db8614ad9151d05bcf813585e45cbebba5aaea223fe315786c401d8cecb1ad2de9f179680c536ea30311fb21fa934b@188.166.100.178:30303",
|
|
|
|
"enode://03f3661686d30509d621dbe5ee2e3082923f25e94fd41a2dd8dd34bb12a0c4e8fbde52247c6c55e86dc209a8e7c4a5ae56058c65f7b01734d3ab73818b44e2a3@188.166.33.47: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 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{
|
|
|
|
"enode://f32efef2739e5135a0f9a80600b321ba4d13393a5f1d3f5f593df85919262f06c70bfa66d38507b9d79a91021f5e200ec20150592e72934c66248e87014c4317@167.99.209.79:30404",
|
|
|
|
"enode://90d7e7e34f588b44e1e07adfc6453b0d27946883420a012a837f6acfa66cbb28e6e8b5df3c0e26615ed82b32273453b1b003e4aa5c0d357ada30bde8f666db47@167.99.46.141:30404",
|
|
|
|
},
|
2018-04-20 12:23:18 +00:00
|
|
|
StaticNodes: []string{
|
2018-03-26 12:52:19 +00:00
|
|
|
"enode://3aeaff0868b19e03fabe33e6e0fcc821094e1601be44edd6f45e3f0171ed964e13623e49987bddd6c517304d2a45dfe66da51e47b2e11d59c4b30cd6094db43d@163.172.176.22:30303",
|
|
|
|
"enode://687343483ca41132a16c9ab67b49e9997a34ec38ddb6dd60bf45f9a0ea4c50362f902553d813af44ab1cdb246fc384d4c74b4437c15cefe3bb0e87b399dbb5bb@163.172.176.22:30403",
|
|
|
|
"enode://2a3d6c1c86546831e5bb2684ff0ed6d931bdacf3c6cd344706452a1e78c41442d38c62317096175dcea6517959f40ac789f76356348e0a17ee53563cbdf2db48@163.172.176.22:30503",
|
|
|
|
"enode://71bb01b58165e3262aea2d3b06dbf9abb8d5512d96e5000e7e41ab2138b47be685935d3eb119fc25e1413db00d8db231fd9d59555a1cd75229821559b6a4eb51@51.15.85.243:30303",
|
|
|
|
"enode://7afd119c549a7ab02b3f7bd77ef3490b6d660d5c49d0734a0c8bb23195ced4ace0bf5cde673cd5cfd07dd8d759277f3d8408eb73dc3c217bbe00f0027d06eee9@51.15.85.243:30403",
|
|
|
|
"enode://da8af0869e4e8047f21c1ac016b94a7b7d8e935dddd28d4272f88a1ceaee7c15e7deec9b6fd195ed3bc43748893111ebf2b2479ff44a8025ab8d598f3c97b589@51.15.85.243:30503",
|
|
|
|
"enode://7ebaa6a8ce2547f10e34fab9cc5626b86d67934a86e1fb36145c0b89fcc7b9315dd6d0a8cc5808d11a55bdc14c78ff675ca956dfec53837b4f1a97392b15ec23@51.15.35.110: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 defaultClusters = []cluster{ropstenCluster, rinkebyCluster, mainnetCluster}
|