Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- newtype CoreNodeId = CoreNodeId {}
- data NodeId
- = CoreId !CoreNodeId
- | RelayId !Word64
- decodeNodeId ∷ Decoder s NodeId
- encodeNodeId ∷ NodeId → Encoding
- fromCoreNodeId ∷ CoreNodeId → NodeId
Node IDs
newtype CoreNodeId Source #
Core node ID
Instances
Instances
Generic NodeId Source # | |
Show NodeId Source # | |
Eq NodeId Source # | |
Ord NodeId Source # | |
Hashable NodeId Source # | |
NoThunks NodeId Source # | |
Condense NodeId Source # | |
ShowProxy NodeId Source # | |
type Rep NodeId Source # | |
Defined in Ouroboros.Consensus.NodeId type Rep NodeId = D1 ('MetaData "NodeId" "Ouroboros.Consensus.NodeId" "ouroboros-consensus-0.21.0.0-inplace" 'False) (C1 ('MetaCons "CoreId" 'PrefixI 'False) (S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 CoreNodeId)) :+: C1 ('MetaCons "RelayId" 'PrefixI 'False) (S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64))) |
decodeNodeId ∷ Decoder s NodeId Source #