Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype CoreNodeId = CoreNodeId { }
-
data
NodeId
- = CoreId ! CoreNodeId
- | RelayId ! Word64
- fromCoreNodeId :: CoreNodeId -> NodeId
Node IDs
newtype CoreNodeId Source #
Core node ID
Instances
Instances
Eq NodeId Source # | |
Ord NodeId Source # | |
Show NodeId Source # | |
Generic NodeId Source # | |
Hashable NodeId Source # | |
NoThunks NodeId Source # | |
Condense NodeId Source # | |
type Rep NodeId Source # | |
Defined in Ouroboros.Consensus.NodeId
type
Rep
NodeId
=
D1
('
MetaData
"NodeId" "Ouroboros.Consensus.NodeId" "ouroboros-consensus-0.1.0.1-DT4Cvwf63DZKctsEvaJqCU" '
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
)))
|
fromCoreNodeId :: CoreNodeId -> NodeId Source #