Trait sc_service::InPoolTransaction [−][src]
In-pool transaction interface.
The pool is container of transactions that are implementing this trait.
See sp_runtime::ValidTransaction
for details about every field.
Associated Types
Loading content...Required methods
pub fn data(&self) -> &Self::Transaction
[src]
Get the reference to the transaction data.
pub fn hash(&self) -> &Self::Hash
[src]
Get hash of the transaction.
pub fn priority(&self) -> &u64
[src]
Get priority of the transaction.
pub fn longevity(&self) -> &u64
[src]
Get longevity of the transaction.
pub fn requires(&self) -> &[Vec<u8, Global>]
[src]
Get transaction dependencies.
pub fn provides(&self) -> &[Vec<u8, Global>]
[src]
Get tags that transaction provides.
pub fn is_propagable(&self) -> bool
[src]
Return a flag indicating if the transaction should be propagated to other peers.