ouroboros-network-protocols
Safe HaskellNone
LanguageHaskell2010

Ouroboros.Network.Protocol.LocalTxSubmission.Codec

Documentation

codecLocalTxSubmission :: forall tx reject (m :: Type -> Type). MonadST m => (tx -> Encoding) -> (forall s. Decoder s tx) -> (reject -> Encoding) -> (forall s. Decoder s reject) -> Codec (LocalTxSubmission tx reject) DeserialiseFailure m ByteString Source #

codecLocalTxSubmissionId :: forall {k} {k1} (tx :: k) (reject :: k1) (m :: Type -> Type). Monad m => Codec (LocalTxSubmission tx reject) CodecFailure m (AnyMessage (LocalTxSubmission tx reject)) Source #