| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Ouroboros.Consensus.Node.ProtocolInfo
Synopsis
- newtype NumCoreNodes = NumCoreNodes Word64
- enumCoreNodes :: NumCoreNodes -> [CoreNodeId]
- data ProtocolInfo m b = ProtocolInfo {
- pInfoConfig :: TopLevelConfig b
- pInfoInitLedger :: ExtLedgerState b
- pInfoBlockForging :: [m (BlockForging m b)]
- data ProtocolClientInfo b = ProtocolClientInfo {}
Documentation
newtype NumCoreNodes Source #
Constructors
| NumCoreNodes Word64 |
Instances
| Show NumCoreNodes Source # | |
Defined in Ouroboros.Consensus.Node.ProtocolInfo Methods showsPrec :: Int -> NumCoreNodes -> ShowS # show :: NumCoreNodes -> String # showList :: [NumCoreNodes] -> ShowS # | |
| NoThunks NumCoreNodes Source # | |
Defined in Ouroboros.Consensus.Node.ProtocolInfo | |
enumCoreNodes :: NumCoreNodes -> [CoreNodeId] Source #
data ProtocolInfo m b Source #
Data required to run the specified protocol.
Constructors
| ProtocolInfo | |
Fields
| |
Instances
| Functor m => Isomorphic (ProtocolInfo m) Source # | |
Defined in Ouroboros.Consensus.HardFork.Combinator.Unary Methods project :: NoHardForks blk => ProtocolInfo m (HardForkBlock '[blk]) -> ProtocolInfo m blk Source # inject :: NoHardForks blk => ProtocolInfo m blk -> ProtocolInfo m (HardForkBlock '[blk]) Source # | |
data ProtocolClientInfo b Source #
Data required by clients of a node running the specified protocol.
Constructors
| ProtocolClientInfo | |
Fields | |
Instances
| Isomorphic ProtocolClientInfo Source # | |
Defined in Ouroboros.Consensus.HardFork.Combinator.Unary Methods project :: NoHardForks blk => ProtocolClientInfo (HardForkBlock '[blk]) -> ProtocolClientInfo blk Source # inject :: NoHardForks blk => ProtocolClientInfo blk -> ProtocolClientInfo (HardForkBlock '[blk]) Source # | |