Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Update lisk-bft to handle bootstrap period #5282

Closed
shuse2 opened this issue May 4, 2020 · 0 comments · Fixed by #5469
Closed

Update lisk-bft to handle bootstrap period #5282

shuse2 opened this issue May 4, 2020 · 0 comments · Fixed by #5469
Assignees
Milestone

Comments

@shuse2
Copy link
Collaborator

shuse2 commented May 4, 2020

Description

  • During bootstrap period vote weight for forgers will be zero so they will be ignored for voting and pre-committing blocks
  • Initialize chainMaxHeightPrevoted and chainMaxHeightFinalized with the genesis block height

Motivation

  • With the new genesis block handling, the above rule needs to be handled

Acceptance Criteria

  • Add unit test to check bft properties are not updated during the bootstrap period
  • Add unit test to check chainMaxHeightPrevoted and chainMaxHeightFinalized are initialized

Additional Information

Related issues: #5234

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants