[][src]Trait solana::entry::EntrySlice

pub trait EntrySlice {
    fn verify_cpu(&self, start_hash: &Hash) -> bool;
fn verify(&self, start_hash: &Hash) -> bool;
fn to_shared_blobs(&self) -> Vec<SharedBlob>;
fn to_blobs(&self) -> Vec<Blob>;
fn to_single_entry_blobs(&self) -> Vec<Blob>;
fn to_single_entry_shared_blobs(&self) -> Vec<SharedBlob>; }

Required methods

fn verify_cpu(&self, start_hash: &Hash) -> bool

Verifies the hashes and counts of a slice of transactions are all consistent.

fn verify(&self, start_hash: &Hash) -> bool

fn to_shared_blobs(&self) -> Vec<SharedBlob>

fn to_blobs(&self) -> Vec<Blob>

fn to_single_entry_blobs(&self) -> Vec<Blob>

fn to_single_entry_shared_blobs(&self) -> Vec<SharedBlob>

Loading content...

Implementations on Foreign Types

impl EntrySlice for [Entry][src]

Loading content...

Implementors

Loading content...