pub enum TransactionStatus<Hash> {
Future,
Ready,
Broadcast(Vec<String>),
InBlock(Hash),
Retracted(Hash),
FinalityTimeout(Hash),
Finalized(Hash),
Usurped(Hash),
Dropped,
Invalid,
}Expand description
Possible transaction status events.
§Note
This is copied from sp-transaction-pool to avoid a dependency on that crate. Therefore it
must be kept compatible with that type from the target substrate version.
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(Hash)
Transaction has been included in block with given hash.
Retracted(Hash)
The block this transaction was included in has been retracted.
FinalityTimeout(Hash)
Maximum number of finality watchers has been reached, old watchers are being removed.
Finalized(Hash)
Transaction has been finalized by a finality-gadget, e.g GRANDPA
Usurped(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.