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