Skip to content
This repository has been archived by the owner on Oct 28, 2021. It is now read-only.

Add more bootnodes to Aleth's official Ethereum bootnode list #5629

Closed
halfalicious opened this issue Jun 15, 2019 · 0 comments
Closed

Add more bootnodes to Aleth's official Ethereum bootnode list #5629

halfalicious opened this issue Jun 15, 2019 · 0 comments

Comments

@halfalicious
Copy link
Contributor

Aleth maintains a list of official Ethereum bootnodes that it uses to start participating in discovery in defaultBootNodes:

aleth/libp2p/Common.cpp

Lines 243 to 259 in 505aead

vector<pair<Public, const char*>> defaultBootNodes()
{
// TODO: Use full string enode representation, maybe via Node, NodeSpec or other type.
// clang-format off
return {
// Mainnet:
{Public("a979fb575495b8d6db44f750317d0f4622bf4c2aa3365d6af7c284339968eef29b69ad0dce72a4d8db5ebb4968de0e3bec910127f134779fbcb0cb6d3331163c"), "52.16.188.185:30303"},
{Public("3f1d12044546b76342d59d4a05532c14b85aa669704bfe1f864fe079415aa2c02d743e03218e57a33fb94523adb54032871a6c51b2cc5514cb7c7e35b3ed0a99"), "13.93.211.84:30303"},
{Public("78de8a0916848093c73790ead81d1928bec737d565119932b98c6b100d944b7a95e94f847f689fc723399d2e31129d182f7ef3863f2b4c820abbf3ab2722344d"), "191.235.84.50:30303"},
{Public("158f8aab45f6d19c6cbf4a089c2670541a8da11978a2f90dbf6a502a4a3bab80d288afdbeb7ec0ef6d92de563767f3b1ea9e8e334ca711e9f8e2df5a0385e8e6"), "13.75.154.138:30303"},
{Public("1118980bf48b0a3640bdba04e0fe78b1add18e1cd99bf22d53daac1fd9972ad650df52176e7c7d89d1114cfef2bc23a2959aa54998a46afcf7d91809f0855082"), "52.74.57.123:30303"},
// Ropsten:
{Public("30b7ab30a01c124a6cceca36863ece12c4f5fa68e3ba9b0b51407ccc002eeed3b3102d20a88f1c1d3c3154e2449317b8ef95090e77b312d5cc39354f86d5d606"), "52.176.7.10:30303"},
{Public("865a63255b3bb68023b6bffd5095118fcc13e79dcf014fe4e47e065c350c7cc72af2e53eff895f11ba1bbb6a2b33271c1116ee870f266618eadfc2e78aa7349c"), "52.176.100.77:30303"},
{Public("6332792c4a00e3e4ee0926ed89e0d27ef985424d97b6a45bf0f23e51f0dcb5e66b875777506458aea7af6f9e4ffb69f43f3778ee73c81ed9d34c51c4b16b0b0f"), "52.232.243.152:30303"},
{Public("94c15d1b9e2fe7ce56e458b9a3b672ef11894ddedd0c6f247e0f1d3487f52b66208fb4aeb8179fce6e3a749ea93ed147c37976d67af557508d199d9594c35f09"), "192.81.208.223:30303"},
};

This list only contains mainnet and ropsten nodes - it should also include nodes from other networks so that it can discover Ethereum nodes more quickly and increase the chances / reduce the time for connections to other peers on the same network.

Geth has a list of bootnodes that it uses here: https://github.com/ethereum/go-ethereum/blob/79c90dce200185b6199076ef7ae87f2ad71c3008/params/bootnodes.go#L19-L62

We should include any nodes in this list (other than the discovery v5 nodes) that we don't already include.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants