Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
-
class
ConfigSupportsNode
blk
where
- getSystemStart :: BlockConfig blk -> SystemStart
- getNetworkMagic :: BlockConfig blk -> NetworkMagic
Documentation
class ConfigSupportsNode blk where Source #
The
BlockConfig
needs to contain some information in order to support
running a node.
getSystemStart :: BlockConfig blk -> SystemStart Source #
getNetworkMagic :: BlockConfig blk -> NetworkMagic Source #
Instances
CanHardFork xs => ConfigSupportsNode ( HardForkBlock xs) Source # | |
Defined in Ouroboros.Consensus.HardFork.Combinator.Node getSystemStart :: BlockConfig ( HardForkBlock xs) -> SystemStart Source # getNetworkMagic :: BlockConfig ( HardForkBlock xs) -> NetworkMagic Source # |
|
ConfigSupportsNode m => ConfigSupportsNode ( DualBlock m a) Source # | |
Defined in Ouroboros.Consensus.Ledger.Dual getSystemStart :: BlockConfig ( DualBlock m a) -> SystemStart Source # getNetworkMagic :: BlockConfig ( DualBlock m a) -> NetworkMagic Source # |