Type Alias MockValidTx
pub type MockValidTx = ValidPoolTransaction<MockTransaction>;Expand description
A validated transaction in the transaction pool, using MockTransaction as the transaction
type.
This type is an alias for ValidPoolTransaction<MockTransaction>.
Aliased Type§
pub struct MockValidTx {
pub transaction: MockTransaction,
pub transaction_id: TransactionId,
pub propagate: bool,
pub timestamp: Instant,
pub origin: TransactionOrigin,
pub authority_ids: Option<Vec<SenderId>>,
}Fields§
§transaction: MockTransactionThe transaction
transaction_id: TransactionIdThe identifier for this transaction.
propagate: boolWhether it is allowed to propagate the transaction.
timestamp: InstantTimestamp when this was added to the pool.
origin: TransactionOriginWhere this transaction originated from.
The sender ids of the 7702 transaction authorities.
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 448 bytes