Skip to content

Save prevote/precommit votes, POL, and precommitted blocks. #44

Closed

Description

@jaekwon

By the time a node precommits, it should have the justification (POL) prevotes, the block itself, etc saved to disk so that should it restart, it can recall its lock state and prevote accordingly. Without this, validators can accidentally unlock upon restart right after a precommit, perhaps causing the blockchain to halt.

This isn't a problem unless a large number of valdiators go offline simultaneously. It could be a problem in the early stages of a blockchain when less than 4 validators are online, assuming equal voting powers.

Activity

  1. jaekwon commented on Apr 3, 2015

    @jaekwon
    ContributorAuthor
  2. ebuchman commented on Jan 18, 2016

    @ebuchman
    Contributor

    This should be addressed by #172 but I will write more CatchupReplay tests to address locking specifically

  3. adrianbrink commented on Mar 25, 2017

    @adrianbrink
    Contributor

    @ebuchman Should this issue be closed, since it has been dealt with in #172?

  4. added a commit that references this issue on Jul 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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