This repository was archived by the owner on May 20, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 82
Fix removal of disconnected peers in the peer manager #1182
Merged
thibault-martinez
merged 25 commits into
iotaledger-archive:mainnet-develop
from
Alex6323:mainnet-develop-bee-autopeering-quick-fix-peer-removal
Mar 2, 2022
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
1618bf9
Explicitly end underlying connection
Alex6323 441a582
Fire 'ProtocolStopped' event in any connection-end case
Alex6323 ed696a7
Count dial attempts and signal 'PeerUnreachable'
Alex6323 d1e453b
Temporarly show peer count for gossip-peerlist and protocol-peer_ man…
Alex6323 f9970d9
Display error message when sending the shutdown signal to an autopeer…
Alex6323 a53300a
Remove unreachable discovered peers from peer manager
Alex6323 b6997d2
Remove unreachable discovered peers from gossip and peer manager
Alex6323 9a14c5c
Publish PeerUnreachable for peers that don't identify properly; Chang…
Alex6323 d875e8a
Reset dial attempt counter only if peer successfully identified itself
Alex6323 6d4a3a8
Remove temporary logs
Alex6323 30d831a
Alias macro starts with the significant part of peer id
Alex6323 1a06f38
Send PeerRemoved event for disconnected unknown peers
Alex6323 5d187bc
Alias macro starts with the significant part of peer id (for real)
Alex6323 e75ae76
Align autopeering peer id display
Alex6323 49eaf73
Ignore error if adding a local address fails
Alex6323 bc336d9
Change some log levels
Alex6323 4d231f7
Format; Introduce display offset constant, Update autopeering changelog
Alex6323 aa74ff3
Update changelogs; bump versions
Alex6323 f89f6c2
Nits
Alex6323 f2c9672
Fix typos and German comma in changelog
Alex6323 693a826
Fix docs
Alex6323 74c09b7
Address review comments
Alex6323 e65444b
Simplify 'add_local_addr' method
Alex6323 0016bab
Add explanation why sending commands to gossip layer cannot fail
Alex6323 a0502ac
Rename to 'identified_at'
Alex6323 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.