referrerpolicy=no-referrer-when-downgrade

Type Alias relay_substrate_client::TransactionStatusOf

source ·
pub type TransactionStatusOf<C> = TransactionStatus<HashOf<C>, HashOf<C>>;
Expand description

Transaction status of the chain.

Aliased Type§

enum TransactionStatusOf<C> {
    Future,
    Ready,
    Broadcast(Vec<String>),
    InBlock((<C as Chain>::Hash, usize)),
    Retracted(<C as Chain>::Hash),
    FinalityTimeout(<C as Chain>::Hash),
    Finalized((<C as Chain>::Hash, usize)),
    Usurped(<C as Chain>::Hash),
    Dropped,
    Invalid,
}

Variants§

§

Future

Transaction is part of the future queue.

§

Ready

Transaction is part of the ready queue.

§

Broadcast(Vec<String>)

The transaction has been broadcast to the given peers.

§

InBlock((<C as Chain>::Hash, usize))

Transaction has been included in block with given hash at the given position.

§

Retracted(<C as Chain>::Hash)

The block this transaction was included in has been retracted.

§

FinalityTimeout(<C as Chain>::Hash)

Maximum number of finality watchers has been reached, old watchers are being removed.

§

Finalized((<C as Chain>::Hash, usize))

Transaction has been finalized by a finality-gadget, e.g. GRANDPA.

§

Usurped(<C as Chain>::Hash)

Transaction has been replaced in the pool, by another transaction that provides the same tags. (e.g. same (sender, nonce)).

§

Dropped

Transaction has been dropped from the pool because of the limit.

§

Invalid

Transaction is no longer valid in the current state.