cardano-rpc
Safe HaskellNone
LanguageHaskell2010

Cardano.Rpc.Server.NodeKernelAccess.Type

Synopsis

Documentation

data NodeKernelAccess Source #

In-process access to the node kernel. Constructed by cardano-node once consensus initialisation completes.

Constructors

NodeKernelAccess 

Fields

Instances

Instances details
Has (IORef (Maybe NodeKernelAccess)) RpcEnv Source # 
Instance details

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