Skip to content

Comments

BEP-564: add New Block Fetching Messages proposal;#564

Merged
zzzckck merged 6 commits intobnb-chain:masterfrom
galaio:new-fetching-block-msgs
May 16, 2025
Merged

BEP-564: add New Block Fetching Messages proposal;#564
zzzckck merged 6 commits intobnb-chain:masterfrom
galaio:new-fetching-block-msgs

Conversation

@galaio
Copy link
Contributor

@galaio galaio commented Apr 18, 2025

This PR will add new blcok fetching mechanism, it will reduce the block fetching time cost a lot.

Motivation

With the future activation of BEP-520 and BEP-524, BSC will achieve a subsecond block interval, which has higher requirements for faster block fetching.

However, the eth/68 protocol is very inefficient when processing NewBlockHash messages, and it requires multiple queries before a new block can be imported.

Summary

This BEP introduces a New Block Fetching Message, which greatly reduces the number of queries, supports fast fetching of newly generated blocks, avoids validators and full nodes from lagging behind in the subsecond block interval, and especially improves the validator consensus efficiency, which can produce the next block or send vote faster.

@galaio galaio requested review from buddh0 and zzzckck April 18, 2025 07:27
abo-L

This comment was marked as spam.

galaio and others added 2 commits April 24, 2025 19:59
Co-authored-by: alex-10072 <ttalex101@gmail.com>
@zzzckck zzzckck merged commit 16e2976 into bnb-chain:master May 16, 2025
Copy link

@Jamstar00 Jamstar00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve

Copy link

@Jamstar00 Jamstar00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve

Copy link

@Jamstar00 Jamstar00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here

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.

7 participants