Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- localTxSubmissionServer ∷ MonadSTM m ⇒ Tracer m (TraceLocalTxSubmissionServerEvent blk) → Mempool m blk → LocalTxSubmissionServer (GenTx blk) (ApplyTxErr blk) m ()
- data TraceLocalTxSubmissionServerEvent blk = TraceReceivedTx (GenTx blk)
Documentation
localTxSubmissionServer ∷ MonadSTM m ⇒ Tracer m (TraceLocalTxSubmissionServerEvent blk) → Mempool m blk → LocalTxSubmissionServer (GenTx blk) (ApplyTxErr blk) m () Source #
Local transaction submission server, for adding txs to the Mempool
Trace events
data TraceLocalTxSubmissionServerEvent blk Source #
TraceReceivedTx (GenTx blk) | A transaction was received. |
Instances
Show (GenTx blk) ⇒ Show (TraceLocalTxSubmissionServerEvent blk) Source # | |
Defined in Ouroboros.Consensus.MiniProtocol.LocalTxSubmission.Server showsPrec ∷ Int → TraceLocalTxSubmissionServerEvent blk → ShowS # show ∷ TraceLocalTxSubmissionServerEvent blk → String # showList ∷ [TraceLocalTxSubmissionServerEvent blk] → ShowS # | |
Eq (GenTx blk) ⇒ Eq (TraceLocalTxSubmissionServerEvent blk) Source # | |