haskoin-store-0.55.0: Storage and index for Bitcoin and Bitcoin Cash
Safe HaskellNone
LanguageHaskell2010

Haskoin.Store.Logic

Synopsis

Documentation

newMempoolTx :: MonadImport m => Tx -> UnixTime -> m (Maybe (HashSet TxHash)) Source #

If it returns Nothing, then transaction was not imported because it already exists. Otherwise tranasction was imported successfully. Any deleted transactions will be returned in the set (RBF only).