Skip to content

Do not disconnect from preferred peers when there is enough outbound#3914

Merged
wiesche89 merged 5 commits into
mimblewimble:stagingfrom
ardocrat:preferred_peers_priority
Jul 16, 2026
Merged

Do not disconnect from preferred peers when there is enough outbound#3914
wiesche89 merged 5 commits into
mimblewimble:stagingfrom
ardocrat:preferred_peers_priority

Conversation

@ardocrat

@ardocrat ardocrat commented Jul 15, 2026

Copy link
Copy Markdown
Contributor
  • check if peer is preferred after connection to not disconnect if its preferred
  • add logging of reason to stop peer
  • do not store stopped peer at memory when there is enough outbound

…ound peers, add logging for peer stop reason
@wiesche89
wiesche89 self-requested a review July 15, 2026 15:39
Comment thread p2p/src/serv.rs
Comment thread p2p/src/peers.rs Outdated
Comment thread p2p/src/peers.rs Outdated
Comment thread servers/src/grin/seed.rs Outdated
@wiesche89
wiesche89 merged commit 44bc3dc into mimblewimble:staging Jul 16, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants