-
Notifications
You must be signed in to change notification settings - Fork 86
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
Move TPraos protocol into its own package. #3513
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved. Thanks!
The only key request is to copy over the ghc-options
block.
@@ -8,7 +8,7 @@ | |||
-- | Hot key | |||
-- | |||
-- Intended for qualified import | |||
module Ouroboros.Consensus.Shelley.Protocol.HotKey ( | |||
module Ouroboros.Consensus.Protocol.Ledger.HotKey ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thinking out loud: is the hotkey more a Ledger
concern or more a BlockForging
concern?
Actually, I'm less sure how to distinguish which parts of this are unique to BlockForging
than I had thought I was. EG only a block-producing node would ever use evolve
, sign
, and mkHotKey
, if I understand correctly.
I suppose it's natural to leave this module unbroken, and so Ledger
really is the most appropriate point in the conceptual hierarchy for this bag of definitions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I think I might end up moving some of this logic around anyway. Currently forging isn't really keyed to the protocol, only to the block.
b200f80
to
df2700e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved! Sorry -- I meant to Approve instead of just Comment last time.
df2700e
to
6c5becb
Compare
bors merge |
3513: Move TPraos protocol into its own package. r=nc6 a=nc6 Intention will be to implement the new Praos protocol also in this package. This PR simply moves things around. I didn't move the PBFT protocol into this package, since it seemed reasonable to just isolate it in Byron. Co-authored-by: Nicholas Clarke <nick@topos.org.uk>
Build failed: |
Intention will be to implement the new Praos protocol also in this package.
6c5becb
to
134bf3a
Compare
bors retry |
Build succeeded: |
Intention will be to implement the new Praos protocol also in this package.
This PR simply moves things around. I didn't move the PBFT protocol into this package, since it seemed reasonable to just isolate it in Byron.