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