| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Cardano.Network.Protocol.LocalTxMonitor.Codec
Documentation
Arguments
| :: forall txid tx slot (m :: Type -> Type). MonadST m | |
| => NodeToClientVersion | Whether to accept |
| -> (txid -> Encoding) | |
| -> (forall s. Decoder s txid) | |
| -> (tx -> Encoding) | |
| -> (forall s. Decoder s tx) | |
| -> (slot -> Encoding) | |
| -> (forall s. Decoder s slot) | |
| -> Codec (LocalTxMonitor txid tx slot) DeserialiseFailure m ByteString |
codecLocalTxMonitorId :: forall txid tx slot (m :: Type -> Type) ptcl. (Monad m, ptcl ~ LocalTxMonitor txid tx slot) => Codec ptcl CodecFailure m (AnyMessage ptcl) #