Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Network] awaken Nakamoto inv sync / block download if the p2p state machine sees unprocessable staging blocks #5144

Open
jcnelson opened this issue Sep 5, 2024 · 0 comments

Comments

@jcnelson
Copy link
Member

jcnelson commented Sep 5, 2024

The presence of unprocessable (e.g. discontinuous) staging blocks in the Nakamoto staging blocks DB is a strong hint that the node has missed a Nakamoto block push, and should immediately attempt an inventory sync and block download with its neighbors.

This is bursty behavior that can be easily weaponized by a rogue miner, so care will need to be taken to ensure that the node only exhibits this bursty behavior for a short window of time (e.g. burst for N seconds per newly-observed unprocessable block).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Status: 🆕 New
Development

No branches or pull requests

2 participants