This repository has been archived by the owner on Aug 18, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust the epoch0 EBB construction to follow the consensus era
When we start a chain from a genesis in the OBFT era, rather than the Original era, the epoch zero EBB must still exist, even though all other epoch EBBs do not exist. That EBB ought to have an empty slot leader schedule, otherwise we cannot have new non-legcay nodes create the same EBB, since new nodes do not implement the logic for Original era leader schedules. This does not affects any existing chain, since existing chains all start in the Original era and go through a hard fork to enter the OBFT era. This change only affects new test/dev chains that start in the OBFT era. This is needed to test mixed clusters of old/new nodes in a convenient way, that all start from genesis in the OBFT era.
- Loading branch information
Showing
5 changed files
with
17 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters