Skip to content

Maybe tie threshold votes to the validator set at the time of counting? #607

Description

@samliok

Not really relevant to this PR, but - if validators changes between two invocations of this function, then we have a problem.

Consider two invocations collectedSealingBlockInfo() in t1 and collectedSealingBlockInfo() in t2, and the first one sampled validators = [v1, v2, v3, v4] and the second once sampled v2, v3, v4, v5]'.

The first one got a vote from v1 and the second one got a vote from v2 but v1 is not in the second.

We reached the threshold f+1 but with an illegal count.

Originally posted by @yacovm in #573 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions