+
Skip to content

Conversation

GheisMohammadi
Copy link
Collaborator

@GheisMohammadi GheisMohammadi commented May 19, 2025

This pull request fixes a critical issue in the P2P host initialization caused by conflicts between multiple gater implementations. To resolve this, the default gater was merged into a new blocking gater, ensuring a single, consistent gating mechanism throughout the system.

The blocking connection gater was refactored for clarity, and the P2P host was updated to use it exclusively. This eliminates the risk of overlapping gater logic and simplifies the initialization process.

Related tests were also updated and extended with datastore creation support to ensure reliability and correctness under the new structure.

@GheisMohammadi GheisMohammadi self-assigned this May 19, 2025
@GheisMohammadi GheisMohammadi added the libp2p Peer to Peer networking label May 19, 2025
@GheisMohammadi GheisMohammadi merged commit ca41a99 into dev May 27, 2025
3 checks passed
@mur-me mur-me deleted the fix/gater branch May 27, 2025 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

libp2p Peer to Peer networking

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载