Trait parity_machine::Transactions [−][src]
pub trait Transactions: LiveBlock { type Transaction; fn transactions(&self) -> &[Self::Transaction]; }
Trait for blocks which have a transaction type.
Associated Types
type Transaction
The transaction type.
Required Methods
fn transactions(&self) -> &[Self::Transaction]
Get a reference to the transactions in this block.