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

Abort query if not enough stake is connected #3345

Merged
merged 1 commit into from
Sep 6, 2024

Commits on Sep 5, 2024

  1. Abort query if not enough stake connected

    This commit makes the snowman engine to abort early and avoid sending a query
    if the node considers the connected stake as insufficient to achieve a successful poll.
    
    The rational for this, is to prevent the node to try to agree on blocks when it is in a partition.
    The intent here is twofold: (1) To prevent needless resource expenditure,
    and (2) to prevent snowball from increasing its preference strength while the protocol has no way to make progress.
    The higher preference strength in a partition, the longer it takes to recover and achieve consensus once the partition heals.
    
    Signed-off-by: Yacov Manevich <[email protected]>
    yacovm committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    f20879e View commit details
    Browse the repository at this point in the history