Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- localTxSubmissionClient :: forall tx reject (m :: Type -> Type). Applicative m => [tx] -> LocalTxSubmissionClient tx reject m [(tx, SubmitResult reject)]
- localTxSubmissionServer :: forall tx reject (m :: Type -> Type). Applicative m => (tx -> SubmitResult reject) -> LocalTxSubmissionServer tx reject m [(tx, SubmitResult reject)]
Documentation
localTxSubmissionClient :: forall tx reject (m :: Type -> Type). Applicative m => [tx] -> LocalTxSubmissionClient tx reject m [(tx, SubmitResult reject)] Source #
An example
which submits a fixed list of
transactions. The result is those transactions annotated with whether they
were accepted or rejected.LocalTxSubmissionClient
localTxSubmissionServer :: forall tx reject (m :: Type -> Type). Applicative m => (tx -> SubmitResult reject) -> LocalTxSubmissionServer tx reject m [(tx, SubmitResult reject)] Source #