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

p2p/sentry: sentry doesn't start with ErrNoHead (#10454) #10494

Merged
merged 1 commit into from
May 28, 2024
Merged

Commits on May 27, 2024

  1. p2p/sentry: sentry doesn't start with ErrNoHead (#10454)

    ReadCurrentHeaderHavingBody must never return nil, but IRL sometimes it does.
    In this case the node gets stuck, because it is not possible to start sentry and make progress.
    Use genesis data when rawdb.ReadCurrentHeaderHavingBody returns nil.
    battlmonstr committed May 27, 2024
    Configuration menu
    Copy the full SHA
    a2437cd View commit details
    Browse the repository at this point in the history