Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
Instances
FromJSON Protocol Source # | |
Generic Protocol Source # | |
Show Protocol Source # | |
NFData Protocol Source # | |
Defined in Cardano.Node.Protocol.Types | |
Eq Protocol Source # | |
NoThunks Protocol Source # | |
type Rep Protocol Source # | |
Defined in Cardano.Node.Protocol.Types type Rep Protocol = D1 ('MetaData "Protocol" "Cardano.Node.Protocol.Types" "ouroboros-consensus-cardano-0.20.0.0-inplace-unstable-cardano-tools" 'False) (C1 ('MetaCons "ByronProtocol" 'PrefixI 'False) (U1 ∷ Type → Type) :+: (C1 ('MetaCons "ShelleyProtocol" 'PrefixI 'False) (U1 ∷ Type → Type) :+: C1 ('MetaCons "CardanoProtocol" 'PrefixI 'False) (U1 ∷ Type → Type))) |
data SomeConsensusProtocol where Source #
SomeConsensusProtocol ∷ ∀ blk. Protocol IO blk ⇒ BlockType blk → ProtocolInfoArgs IO blk → SomeConsensusProtocol |