2015-11-17 18:33:25 +02:00
|
|
|
// Copyright 2015 The go-ethereum Authors
|
2016-11-14 14:44:35 +03:00
|
|
|
// This file is part of the go-ethereum library.
|
2015-11-17 18:33:25 +02:00
|
|
|
//
|
2016-11-14 14:44:35 +03:00
|
|
|
// The go-ethereum library is free software: you can redistribute it and/or modify
|
|
|
|
// it under the terms of the GNU Lesser General Public License as published by
|
2015-11-17 18:33:25 +02:00
|
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
|
|
// (at your option) any later version.
|
|
|
|
//
|
2016-11-14 14:44:35 +03:00
|
|
|
// The go-ethereum library is distributed in the hope that it will be useful,
|
2015-11-17 18:33:25 +02:00
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
2016-11-14 14:44:35 +03:00
|
|
|
// GNU Lesser General Public License for more details.
|
2015-11-17 18:33:25 +02:00
|
|
|
//
|
2016-11-14 14:44:35 +03:00
|
|
|
// You should have received a copy of the GNU Lesser General Public License
|
|
|
|
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
2015-11-17 18:33:25 +02:00
|
|
|
|
2016-11-14 14:44:35 +03:00
|
|
|
package params
|
2015-11-17 18:33:25 +02:00
|
|
|
|
2020-02-13 16:38:30 +03:00
|
|
|
import "github.com/ethereum/go-ethereum/common"
|
|
|
|
|
2016-09-05 19:07:57 +03:00
|
|
|
// MainnetBootnodes are the enode URLs of the P2P bootstrap nodes running on
|
|
|
|
// the main Ethereum network.
|
2017-01-05 15:56:06 +03:00
|
|
|
var MainnetBootnodes = []string{
|
2017-02-28 13:30:44 +03:00
|
|
|
// Ethereum Foundation Go Bootnodes
|
2019-06-07 11:55:45 +03:00
|
|
|
"enode://d860a01f9722d78051619d1e2351aba3f43f943f6f00718d1b9baa4101932a1f5011f16bb2b1bb35db20d6fe28fa0bf09636d26a87d31de9ec6203eeedb1f666@18.138.108.67:30303", // bootnode-aws-ap-southeast-1-001
|
|
|
|
"enode://22a8232c3abc76a16ae9d6c3b164f98775fe226f0917b0ca871128a74a8e9630b458460865bab457221f1d448dd9791d24c4e5d88786180ac185df813a68d4de@3.209.45.79:30303", // bootnode-aws-us-east-1-001
|
|
|
|
"enode://ca6de62fce278f96aea6ec5a2daadb877e51651247cb96ee310a318def462913b653963c155a0ef6c7d50048bba6e6cea881130857413d9f50a621546b590758@34.255.23.113:30303", // bootnode-aws-eu-west-1-001
|
|
|
|
"enode://279944d8dcd428dffaa7436f25ca0ca43ae19e7bcf94a8fb7d1641651f92d121e972ac2e8f381414b80cc8e5555811c2ec6e1a99bb009b3f53c4c69923e11bd8@35.158.244.151:30303", // bootnode-aws-eu-central-1-001
|
|
|
|
"enode://8499da03c47d637b20eee24eec3c356c9a2e6148d6fe25ca195c7949ab8ec2c03e3556126b0d7ed644675e78c4318b08691b7b57de10e5f0d40d05b09238fa0a@52.187.207.27:30303", // bootnode-azure-australiaeast-001
|
|
|
|
"enode://103858bdb88756c71f15e9b5e09b56dc1be52f0a5021d46301dbbfb7e130029cc9d0d6f73f693bc29b665770fff7da4d34f3c6379fe12721b5d7a0bcb5ca1fc1@191.234.162.198:30303", // bootnode-azure-brazilsouth-001
|
|
|
|
"enode://715171f50508aba88aecd1250af392a45a330af91d7b90701c436b618c86aaa1589c9184561907bebbb56439b8f8787bc01f49a7c77276c58c1b09822d75e8e8@52.231.165.108:30303", // bootnode-azure-koreasouth-001
|
|
|
|
"enode://5d6d7cd20d6da4bb83a1d28cadb5d409b64edf314c0335df658c1a54e32c7c4a7ab7823d57c39b6a757556e68ff1df17c748b698544a55cb488b52479a92b60f@104.42.217.25:30303", // bootnode-azure-westus-001
|
2015-11-17 18:33:25 +02:00
|
|
|
}
|
|
|
|
|
2020-04-09 12:09:58 +03:00
|
|
|
// RopstenBootnodes are the enode URLs of the P2P bootstrap nodes running on the
|
2017-04-11 12:57:54 +03:00
|
|
|
// Ropsten test network.
|
2020-04-09 12:09:58 +03:00
|
|
|
var RopstenBootnodes = []string{
|
2018-02-08 16:30:26 +03:00
|
|
|
"enode://30b7ab30a01c124a6cceca36863ece12c4f5fa68e3ba9b0b51407ccc002eeed3b3102d20a88f1c1d3c3154e2449317b8ef95090e77b312d5cc39354f86d5d606@52.176.7.10:30303", // US-Azure geth
|
|
|
|
"enode://865a63255b3bb68023b6bffd5095118fcc13e79dcf014fe4e47e065c350c7cc72af2e53eff895f11ba1bbb6a2b33271c1116ee870f266618eadfc2e78aa7349c@52.176.100.77:30303", // US-Azure parity
|
2018-02-01 17:10:57 +03:00
|
|
|
"enode://6332792c4a00e3e4ee0926ed89e0d27ef985424d97b6a45bf0f23e51f0dcb5e66b875777506458aea7af6f9e4ffb69f43f3778ee73c81ed9d34c51c4b16b0b0f@52.232.243.152:30303", // Parity
|
|
|
|
"enode://94c15d1b9e2fe7ce56e458b9a3b672ef11894ddedd0c6f247e0f1d3487f52b66208fb4aeb8179fce6e3a749ea93ed147c37976d67af557508d199d9594c35f09@192.81.208.223:30303", // @gpip
|
2015-11-17 18:33:25 +02:00
|
|
|
}
|
2016-09-05 19:07:57 +03:00
|
|
|
|
2017-05-04 12:36:20 +03:00
|
|
|
// RinkebyBootnodes are the enode URLs of the P2P bootstrap nodes running on the
|
|
|
|
// Rinkeby test network.
|
|
|
|
var RinkebyBootnodes = []string{
|
|
|
|
"enode://a24ac7c5484ef4ed0c5eb2d36620ba4e4aa13b8c84684e1b4aab0cebea2ae45cb4d375b77eab56516d34bfbd3c1a833fc51296ff084b770b94fb9028c4d25ccf@52.169.42.101:30303", // IE
|
2017-09-13 11:25:50 +03:00
|
|
|
"enode://343149e4feefa15d882d9fe4ac7d88f885bd05ebb735e547f12e12080a9fa07c8014ca6fd7f373123488102fe5e34111f8509cf0b7de3f5b44339c9f25e87cb8@52.3.158.184:30303", // INFURA
|
2017-12-21 14:19:42 +03:00
|
|
|
"enode://b6b28890b006743680c52e64e0d16db57f28124885595fa03a562be1d2bf0f3a1da297d56b13da25fb992888fd556d4c1a27b1f39d531bde7de1921c90061cc6@159.89.28.211:30303", // AKASHA
|
2017-05-04 12:36:20 +03:00
|
|
|
}
|
|
|
|
|
2018-11-16 18:58:24 +03:00
|
|
|
// GoerliBootnodes are the enode URLs of the P2P bootstrap nodes running on the
|
|
|
|
// Görli test network.
|
|
|
|
var GoerliBootnodes = []string{
|
2019-07-09 02:05:01 +03:00
|
|
|
// Upstream bootnodes
|
2018-11-16 18:58:24 +03:00
|
|
|
"enode://011f758e6552d105183b1761c5e2dea0111bc20fd5f6422bc7f91e0fabbec9a6595caf6239b37feb773dddd3f87240d99d859431891e4a642cf2a0a9e6cbb98a@51.141.78.53:30303",
|
|
|
|
"enode://176b9417f511d05b6b2cf3e34b756cf0a7096b3094572a8f6ef4cdcb9d1f9d00683bf0f83347eebdf3b81c3521c2332086d9592802230bf528eaf606a1d9677b@13.93.54.137:30303",
|
|
|
|
"enode://46add44b9f13965f7b9875ac6b85f016f341012d84f975377573800a863526f4da19ae2c620ec73d11591fa9510e992ecc03ad0751f53cc02f7c7ed6d55c7291@94.237.54.114:30313",
|
|
|
|
"enode://c1f8b7c2ac4453271fa07d8e9ecf9a2e8285aa0bd0c07df0131f47153306b0736fd3db8924e7a9bf0bed6b1d8d4f87362a71b033dc7c64547728d953e43e59b2@52.64.155.147:30303",
|
|
|
|
"enode://f4a9c6ee28586009fb5a96c8af13a58ed6d8315a9eee4772212c1d4d9cebe5a8b8a78ea4434f318726317d04a3f531a1ef0420cf9752605a562cfe858c46e263@213.186.16.82:30303",
|
|
|
|
|
|
|
|
// Ethereum Foundation bootnode
|
2020-01-31 16:12:19 +03:00
|
|
|
"enode://a61215641fb8714a373c80edbfa0ea8878243193f57c96eeb44d0bc019ef295abd4e044fd619bfc4c59731a73fb79afe84e9ab6da0c743ceb479cbb6d263fa91@3.11.147.67:30303",
|
2018-11-16 18:58:24 +03:00
|
|
|
}
|
|
|
|
|
2020-02-13 16:38:30 +03:00
|
|
|
const dnsPrefix = "enrtree://AKA3AM6LPBYEUDMVNU3BSVQJ5AD45Y7YPOHJLEF6W26QOE4VTUDPE@"
|
|
|
|
|
|
|
|
// These DNS names provide bootstrap connectivity for public testnets and the mainnet.
|
|
|
|
// See https://github.com/ethereum/discv4-dns-lists for more information.
|
|
|
|
var KnownDNSNetworks = map[common.Hash]string{
|
|
|
|
MainnetGenesisHash: dnsPrefix + "all.mainnet.ethdisco.net",
|
2020-04-09 12:09:58 +03:00
|
|
|
RopstenGenesisHash: dnsPrefix + "all.ropsten.ethdisco.net",
|
2020-02-13 16:38:30 +03:00
|
|
|
RinkebyGenesisHash: dnsPrefix + "all.rinkeby.ethdisco.net",
|
|
|
|
GoerliGenesisHash: dnsPrefix + "all.goerli.ethdisco.net",
|
|
|
|
}
|