| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Cardano.Rpc.Server.NodeKernelAccess.Type
Synopsis
- data NodeKernelAccess = NodeKernelAccess {
- chainDb :: ChainDB IO (CardanoBlock StandardCrypto)
- systemStart :: SystemStart
- readEraHistory :: forall (m :: Type -> Type). MonadIO m => m EraHistory
- securityParam :: SecurityParam
- genesisConfig :: GenesisBundle
- data GenesisBundle = GenesisBundle {}
Documentation
data NodeKernelAccess Source #
In-process access to the node kernel. Constructed by cardano-node once consensus initialisation completes.
Constructors
| NodeKernelAccess | |
Fields
| |
Instances
| Has (IORef (Maybe NodeKernelAccess)) RpcEnv Source # | |
Defined in Cardano.Rpc.Server.Internal.Monad | |
data GenesisBundle Source #
The per-era genesis configuration of the network the node is running on.
Gathered once, when the node kernel hook fires. The Byron genesis and the
Shelley-onwards transition config are both read straight off
CardanoProtocolParams, part of cardano-node's boot-time
ProtocolInfoArgs. No hard-fork navigation is needed.
The Shelley genesis hash is the exception: ProtocolInfoArgs
does not carry it, so it is threaded in separately from cardano-node's own
boot-time genesis parsing (see
mkNodeKernelAccess).
Constructors
| GenesisBundle | |
Fields
| |