Conversation
Pull Request ReviewThis PR primarily updates the pinned Sensitive ContentNo sensitive content detected. Security IssuesNo serious security issues detected. Generated by Hashdit Bot. This tool can absolutely NOT replace manual audits. |
Pull Request ReviewThis PR primarily updates the Sensitive ContentNo sensitive content detected. Security IssuesNo serious security issues detected. Generated by Hashdit Bot. This tool can absolutely NOT replace manual audits. |
…tch and p2p reset
Pull Request ReviewThis PR updates the project’s Sensitive ContentNo sensitive content detected. Security IssuesNo serious security issues detected. Generated by Hashdit Bot. This tool can absolutely NOT replace manual audits. |
Pull Request ReviewThis PR mainly updates the Sensitive ContentNo sensitive content detected. Security IssuesNo serious security issues detected. Generated by Hashdit Bot. This tool can absolutely NOT replace manual audits. |
Pull Request ReviewThis PR is a Rust/web3 (BSC execution client networking) update focused on P2P stability and fork-recovery behavior. It refactors fork recovery to separate fetch start from FCU target ( Sensitive ContentNo sensitive content detected. Security IssuesNo serious security issues detected. Generated by Hashdit Bot. This tool can absolutely NOT replace manual audits. |
Pull Request ReviewThis PR primarily updates the Sensitive ContentNo sensitive content detected. Security IssuesNo serious security issues detected. Generated by Hashdit Bot. This tool can absolutely NOT replace manual audits. |
Pull Request ReviewThis PR primarily updates the project to a newer pinned Sensitive ContentNo sensitive content detected. Security IssuesNo serious security issues detected. Generated by Hashdit Bot. This tool can absolutely NOT replace manual audits. |
Pull Request ReviewThis PR primarily upgrades the pinned Sensitive ContentNo sensitive content detected. Security IssuesNo serious security issues detected. Generated by Hashdit Bot. This tool can absolutely NOT replace manual audits. |
Pull Request ReviewThis PR is a Rust (web3 client/networking) maintenance and stability update that primarily refactors BSC P2P behavior, fork recovery flow, and vote-pool pruning while also bumping a large set of dependencies in Sensitive ContentNo sensitive content detected. Security IssuesNo serious security issues detected. Generated by Hashdit Bot. This tool can absolutely NOT replace manual audits. |
Pull Request ReviewThis PR primarily introduces P2P robustness and fork-recovery hardening for a Rust-based BSC node, while also updating a large set of dependencies in Sensitive ContentNo sensitive content detected. Security IssuesNo serious security issues detected. Generated by Hashdit Bot. This tool can absolutely NOT replace manual audits. |
Pull Request ReviewThis PR is a Rust/BSC node networking and consensus maintenance update that primarily improves p2p resiliency, fork-recovery behavior, and vote-pool memory safety while also refreshing a large set of dependencies in Sensitive ContentNo sensitive content detected. Security IssuesNo serious security issues detected. Generated by Hashdit Bot. This tool can absolutely NOT replace manual audits. |
Pull Request ReviewThis PR focuses on BSC P2P stability and compatibility by refactoring peer/version handling, improving fork recovery flow, and hardening vote-pool memory behavior. It introduces version-aware BSC peer registry logic (bsc/1 vs bsc/2), announcer-aware failover for Sensitive ContentNo sensitive content detected. Security IssuesNo serious security issues detected. Generated by Hashdit Bot. This tool can absolutely NOT replace manual audits. |
* chore: add more for debug p2p * chore: add more logs * chore: avoid fetch newest block by newblock which result in failed fetch and p2p reset * chore: avoid fetch unnecessary newest block * chore: request_blocks_by_range only by v2 peer * chore: fetch block prefer announce peer * chore: make reth-bsc peer-manager similar to geth-bsc * chore: try some p2p config * chore: update peer config * fix: fix forward vote bug which too large msg * chore: restore reth deps * chore: remove temp peer dump * chore: remove useless codes * chore: add force prune vote when stage sync * chore: update some trivals
Description
Resolved p2p peer related issues to enhance stability.
Rationale
BSC network experiences frequent P2P peer disconnection issues that affect network stability. Main causes and solutions:
Adjust P2P configs to align with geth-bsc - ensure ban/reputation mechanisms are compatible, avoid incorrect peer banning
Optimize GetBlocksByRange logic - improve request success rate, avoid to be resetted by peer
Fix vote pool memory leak - Add force pruning mechanism to prevent vote messages from becoming too large during stage sync and being rejected by peers
Optimize logs and code - Lower warn log levels, clean up dead code, improve troubleshooting efficiency
These changes work together to solve reth-bsc's P2P stability issues and ensure good compatibility with the BSC network.
Changes
Notable changes:
Potential Impacts