Skip to content

Conversation

@healthykim
Copy link
Contributor

This PR removes dangling peers in alternates map

In the current code, a dropped peer is removed from alternates for only the specific transaction hash it was requesting. If that peer is listed as an alternate for other transaction hashes, those entries still stick around in alternates/announced even though that peer already got dropped.

@healthykim healthykim changed the title eth/txfetcher: remove dangling peers from alternates eth/fetcher: remove dangling peers from alternates Oct 19, 2025
@rjl493456442 rjl493456442 added this to the 1.16.6 milestone Oct 20, 2025
@rjl493456442 rjl493456442 merged commit 88576c5 into ethereum:master Oct 20, 2025
6 of 7 checks passed
rjl493456442 pushed a commit to rjl493456442/go-ethereum that referenced this pull request Oct 28, 2025
This PR removes dangling peers in `alternates` map

In the current code, a dropped peer is removed from alternates for only
the specific transaction hash it was requesting. If that peer is listed
as an alternate for other transaction hashes, those entries still stick
around in alternates/announced even though that peer already got
dropped.
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