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

fix: lagging nodes failed to sync #1829

Merged

Commits on Aug 18, 2023

  1. fix: lagging nodes failed to sync

    FastFinality puts more infor into the header.extra field to keep vote information.
    For mainnet, on epoch height, it could be 1526 bytes, which was 517 bytes before.
    So the hardcoded 700 bytes for header could be no longer enough, increase it by
    2 times would be enough.
    
    this bug could cause P2P sync failure for nodes that are lagging behind, since they
    would request access of ancient db, and GetBlockHeaders could be failed.
    brilliant-lx committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    0f49adc View commit details
    Browse the repository at this point in the history