Struct ethcore::views::BodyView[][src]

pub struct BodyView<'a> { /* fields omitted */ }

View onto block rlp.

Methods

impl<'a> BodyView<'a>
[src]

Creates new view onto block body from rlp. Use the view! macro to create this view in order to capture debugging info.

Example

#[macro_use]
extern crate ethcore;
 
use ethcore::views::{BodyView};
 
fn main() {
let bytes : &[u8] = &[];
let body_view = view!(BodyView, bytes);
}

Return reference to underlaying rlp.

Important traits for Vec<u8>

Return List of transactions in given block.

Important traits for Vec<u8>

Return List of transactions with additional localization info.

Return the raw rlp for the transactions in the given block.

Return number of transactions in given block, without deserializing them.

Important traits for Vec<u8>

Return List of transactions in given block.

Important traits for Vec<u8>

Return transaction hashes.

Returns transaction at given index without deserializing unnecessary data.

Returns localized transaction at given index.

Returns raw rlp for the uncles in the given block

Important traits for Vec<u8>

Return list of uncles of given block.

Return number of uncles in given block, without deserializing them.

Important traits for Vec<u8>

Return List of transactions in given block.

Important traits for Vec<u8>

Return list of uncle hashes of given block.

Return nth uncle.

Return nth uncle rlp.

Auto Trait Implementations

impl<'a> Send for BodyView<'a>

impl<'a> !Sync for BodyView<'a>