Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype NodeKernelData blk = NodeKernelData {}
- mkNodeKernelData ∷ IO (NodeKernelData blk)
- setNodeKernel ∷ NodeKernelData blk → NodeKernel IO RemoteConnectionId LocalConnectionId blk → IO ()
- mapNodeKernelDataIO ∷ (NodeKernel IO RemoteConnectionId LocalConnectionId blk → IO a) → NodeKernelData blk → IO (StrictMaybe a)
- nkQueryLedger ∷ IsLedger (LedgerState blk) ⇒ (ExtLedgerState blk → a) → NodeKernel IO RemoteConnectionId LocalConnectionId blk → IO a
- nkQueryChain ∷ (AnchoredFragment (Header blk) → a) → NodeKernel IO RemoteConnectionId LocalConnectionId blk → IO a
- data NodeKernel (m ∷ Type → Type) remotePeer localPeer blk = NodeKernel {
- getChainDB ∷ ChainDB m blk
- getMempool ∷ Mempool m blk TicketNo
- getTopLevelConfig ∷ TopLevelConfig blk
- getFetchClientRegistry ∷ FetchClientRegistry remotePeer (Header blk) blk m
- getNodeCandidates ∷ StrictTVar m (Map remotePeer (StrictTVar m (AnchoredFragment (Header blk))))
- getTracers ∷ Tracers m remotePeer localPeer blk
- type LocalConnectionId = ConnectionId LocalAddress
- type RemoteConnectionId = ConnectionId RemoteAddress
- data StrictMaybe a
- fromSMaybe ∷ a → StrictMaybe a → a
Documentation
newtype NodeKernelData blk Source #
mkNodeKernelData ∷ IO (NodeKernelData blk) Source #
setNodeKernel ∷ NodeKernelData blk → NodeKernel IO RemoteConnectionId LocalConnectionId blk → IO () Source #
mapNodeKernelDataIO ∷ (NodeKernel IO RemoteConnectionId LocalConnectionId blk → IO a) → NodeKernelData blk → IO (StrictMaybe a) Source #
nkQueryLedger ∷ IsLedger (LedgerState blk) ⇒ (ExtLedgerState blk → a) → NodeKernel IO RemoteConnectionId LocalConnectionId blk → IO a Source #
nkQueryChain ∷ (AnchoredFragment (Header blk) → a) → NodeKernel IO RemoteConnectionId LocalConnectionId blk → IO a Source #
Re-exports
data NodeKernel (m ∷ Type → Type) remotePeer localPeer blk #
NodeKernel | |
|
type LocalConnectionId = ConnectionId LocalAddress #
type RemoteConnectionId = ConnectionId RemoteAddress #
data StrictMaybe a #
Instances
fromSMaybe ∷ a → StrictMaybe a → a #