plutus-chain-index-core-0.1.0.0

Plutus.ChainIndex.TxIdState

Synopsis

Documentation

Increase the depth of a tentatively confirmed transaction

The TxStatus of a transaction right after it was added to the chain

Given the current block, compute the status for the given transaction by checking to see if it has been deleted.

The depth (in blocks) after which a transaction cannot be rolled back anymore

dropOlder :: Monoid a => BlockNumber -> UtxoIndex a -> UtxoIndex a Source #

Drop everything older than BlockNumber in the index.