Skip to content

p2p: fix bsc dispatcher request initial issue;#3108

Merged
zzzckck merged 3 commits intobnb-chain:developfrom
galaio:new-broadcast
May 20, 2025
Merged

p2p: fix bsc dispatcher request initial issue;#3108
zzzckck merged 3 commits intobnb-chain:developfrom
galaio:new-broadcast

Conversation

@galaio
Copy link
Copy Markdown
Contributor

@galaio galaio commented May 20, 2025

Description

This PR fixes bsc dispatcher request initial issue. This will cause the read of the underlying connection to be blocked, indirectly causing a protocol timeout or EOF error.

The code will block here.

image

Rationale

Especially in the intranet environment, the latency is very low and the messages are sent very fast. At this time, the parallel timing is random, and the use of uninitialized chan may cause blocking problems.

Changes

Notable changes:

  • tool: fix fullnode forward tx issue;
  • p2p: fix bsc dispatcher request initial issue;

@galaio galaio requested review from buddh0 and zzzckck May 20, 2025 02:36
@zzzckck zzzckck merged commit 8c7dd57 into bnb-chain:develop May 20, 2025
7 checks passed
galaio added a commit to galaio/bsc that referenced this pull request May 29, 2025
galaio added a commit to galaio/bsc that referenced this pull request May 29, 2025
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.

3 participants