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

Protocol plumbing in the node top level for starting in Shelley mode #820

Merged
merged 2 commits into from
Apr 20, 2020

Conversation

dcoutts
Copy link
Contributor

@dcoutts dcoutts commented Apr 19, 2020

Add the tracing and protocol modules for the Shelly instance of the consensus+ledger.

Add TPraos (transitional Praos) to the enumeration of protocols the node can use.

No support yet for the leader credentials, so the node cannot yet create blocks.

Works, but cannot yet create blocks. Need to complete the support for
reading the leader credentials.
It was hard coded, but we do actually have the protocol available, we
just need to use it.
@dcoutts dcoutts force-pushed the dcoutts/protocol-plumbing-shelley branch from 6383299 to 68d41f1 Compare April 19, 2020 22:22
{-# LANGUAGE GeneralizedNewtypeDeriving #-}

{-# OPTIONS_GHC -fno-warn-orphans #-}
{-# OPTIONS_GHC -Wno-all-missed-specialisations #-}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we dropped -Weverything for -Wall that should not be needed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. I've not added or removed these in these recent Shelley plumbing PRs.

There's over 20 of these remaining in the repo, in both cardano-config and cardano-node. I suggest we remove them all as part of a clean-up PR.

@dcoutts
Copy link
Contributor Author

dcoutts commented Apr 20, 2020

bors merge

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Apr 20, 2020

@iohk-bors iohk-bors bot merged commit bffd717 into master Apr 20, 2020
@iohk-bors iohk-bors bot deleted the dcoutts/protocol-plumbing-shelley branch April 20, 2020 01:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants