Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor to decouple consensus modes #2978

Merged
merged 1 commit into from
Mar 31, 2021
Merged

Refactor to decouple consensus modes #2978

merged 1 commit into from
Mar 31, 2021

Commits on Mar 30, 2021

  1. 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.
    Jimmy Hartzell committed Mar 30, 2021
    Configuration menu
    Copy the full SHA
    0698994 View commit details
    Browse the repository at this point in the history