-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2978: Refactor to decouple consensus modes r=jhartzell42 a=jhartzell42 Refactor to decouple consensus modes - Functionality that handles Shelley-based eras in a multi-era consensus is moved to ouroboros-consensus-shelley so that it can be shared between mainnet consensus (in ouroboros-consensus-cardano) and other consensus modes comprising multiple Shelley eras. - The `Protocol` GADT that enumerates consensus modes and provides a wealth of information for clients is eliminated. It is an implementation detail only used by `cardano-node`. This way, `ouroboros-consensus-cardano` does not need to know about other consensus modes. Co-authored-by: Jimmy Hartzell <jimmy.hartzell@obsidian.systems>
- Loading branch information
Showing
13 changed files
with
414 additions
and
514 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
Oops, something went wrong.