TxStatus

scalus.cardano.node.emulator.TxStatus
See theTxStatus companion object
enum TxStatus

Where a submitted tx stands, spec section 12. Richer than scalus.cardano.node.TransactionStatus, which has no payload and stays as it is.

Attributes

Companion
object
Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

final case class Confirmed(depth: Int, point: ChainPoint)

In a block on the selected chain. depth is the depth of that block at the moment of the call, so the tip has depth 1, spec [TS-2].

In a block on the selected chain. depth is the depth of that block at the moment of the call, so the tip has depth 1, spec [TS-2].

Attributes

final case class Dropped(reason: DropReason)

Removed from the mempool by revalidation, spec [RV-3].

Removed from the mempool by revalidation, spec [RV-3].

Attributes

case NotFound extends TxStatus

In neither the mempool nor a block. A tx known only from the applied-tx log the emulator was built with has no block, so it is NotFound, as on a node, spec [TS-4].

In neither the mempool nor a block. A tx known only from the applied-tx log the emulator was built with has no block, so it is NotFound, as on a node, spec [TS-4].

Attributes

case Pending extends TxStatus

In the mempool.

In the mempool.

Attributes

case RolledBack extends TxStatus

In a block that left the selected chain, under OrphanTxPolicy.Drop, spec [OR-4].

In a block that left the selected chain, under OrphanTxPolicy.Drop, spec [OR-4].

Attributes