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

Commit 17419c2

Browse files
authored
Merge pull request #5628 from ethereum/make-bootnodes-optional
Don't add official Ethereum bootnodes as required peers
2 parents 505aead + c4097dd commit 17419c2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
- Changed: [#5589](https://github.com/ethereum/aleth/pull/5589) Make aleth output always line-buffered even when redirected to file or pipe.
1919
- Changed: [#5602](https://github.com/ethereum/aleth/pull/5602) Better predicting external IP address and UDP port.
2020
- Changed: [#5605](https://github.com/ethereum/aleth/pull/5605) Network logging bugfixes and improvements and add warpcap log channel.
21+
- Changed: [#5628](https://github.com/ethereum/aleth/pull/5628) Don't try to endlessly reconnect to official Ethereum bootnodes.
2122
- Fixed: [#5562](https://github.com/ethereum/aleth/pull/5562) Don't send header request messages to peers that haven't sent us Status yet.
2223
- Fixed: [#5581](https://github.com/ethereum/aleth/pull/5581) Fixed finding neighbour nodes in Discovery.
2324
- Fixed: [#5599](https://github.com/ethereum/aleth/pull/5600) Prevent aleth from attempting concurrent connection to node which results in disconnect of original connection.

aleth/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1011,7 +1011,7 @@ int main(int argc, char** argv)
10111011

10121012
if (bootstrap)
10131013
for (auto const& i : defaultBootNodes())
1014-
web3.requirePeer(i.first, i.second);
1014+
web3.addNode(i.first, i.second);
10151015
if (!remoteHost.empty())
10161016
web3.addNode(p2p::NodeID(), remoteHost + ":" + toString(remotePort));
10171017
}

0 commit comments

Comments
 (0)