Skip to content

WIP: Precheck incoming connections before upgrade to peer_loop - #899

Draft
Sword-Smith wants to merge 1 commit into
masterfrom
precheck-new-connections
Draft

WIP: Precheck incoming connections before upgrade to peer_loop#899
Sword-Smith wants to merge 1 commit into
masterfrom
precheck-new-connections

Conversation

@Sword-Smith

Copy link
Copy Markdown
Member

No description provided.

@Sword-Smith
Sword-Smith marked this pull request as draft April 1, 2026 17:21
@codspeed-hq

codspeed-hq Bot commented Apr 1, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 5 untouched benchmarks


Comparing precheck-new-connections (f94fae6) with master (f7b67c0)

Open in CodSpeed

@Sword-Smith

Sword-Smith commented Apr 2, 2026

Copy link
Copy Markdown
Member Author

Defining a whitelist in terms of libp2p identities is probably a better idea. That would mean that the current CLI argument restrict_peers_to_list can be dropped in favor of this new whitelisting option.

Or perhaps the new whitelist should be defined in terms of MultiAddr values? That way the node would also know how to connect to the whitelisted peers.

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.

1 participant