Safe Haskell | None |
---|---|
Language | Haskell2010 |
Ouroboros.Consensus.Node.ProtocolInfo
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 #
Constructors
NumCoreNodes Word64 |
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.
Constructors
ProtocolClientInfo | |
Fields |
Instances
Isomorphic ProtocolClientInfo Source # | |
Defined in Ouroboros.Consensus.HardFork.Combinator.Embed.Unary Methods 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.
Constructors
ProtocolInfo | |
Fields
|
Instances
Functor m => Isomorphic ( ProtocolInfo m) Source # | |
Defined in Ouroboros.Consensus.HardFork.Combinator.Embed.Unary Methods 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 #