[][src]Trait snarkos_models::objects::block::BlockScheme

pub trait BlockScheme: Clone + Eq + FromBytes + ToBytes {
    type BlockHeader: Clone + Eq + FromBytes + ToBytes;
    type Transaction: Transaction;
    fn header(&self) -> &Self::BlockHeader;
fn transactions(&self) -> &[Self::Transaction]; }

Associated Types

Loading content...

Required methods

fn header(&self) -> &Self::BlockHeader

Returns the header.

fn transactions(&self) -> &[Self::Transaction]

Returns the transactions.

Loading content...

Implementors

Loading content...