| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Ouroboros.Consensus.NodeId
Contents
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
Constructors
| CoreNodeId | |
Fields | |
Instances
Constructors
| CoreId !CoreNodeId | |
| RelayId !Word64 |
Instances
| FromCBOR NodeId Source # | |||||
| ToCBOR NodeId Source # | |||||
| Generic NodeId Source # | |||||
Defined in Ouroboros.Consensus.NodeId Associated Types
| |||||
| Show NodeId Source # | |||||
| Eq NodeId Source # | |||||
| Ord NodeId Source # | |||||
| Hashable NodeId Source # | |||||
| NoThunks NodeId Source # | |||||
| Condense NodeId Source # | |||||
| Serialise 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.28.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 #