Struct vapcore_spec::Genesis[][src]

pub struct Genesis {
    pub seal: Seal,
    pub difficulty: U256,
    pub author: Address,
    pub timestamp: u64,
    pub parent_hash: H256,
    pub gas_limit: U256,
    pub transactions_root: H256,
    pub receipts_root: H256,
    pub state_root: Option<H256>,
    pub gas_used: U256,
    pub extra_data: Vec<u8>,
}

Genesis components.

Fields

seal: Seal

Seal.

difficulty: U256

Difficulty.

author: Address

Author.

timestamp: u64

Timestamp.

parent_hash: H256

Parent hash.

gas_limit: U256

Gas limit.

transactions_root: H256

Transactions root.

receipts_root: H256

Receipts root.

state_root: Option<H256>

State root.

gas_used: U256

Gas used.

extra_data: Vec<u8>

Extra data.

Trait Implementations

impl Debug for Genesis[src]

impl From<Genesis> for Genesis[src]

Auto Trait Implementations

impl RefUnwindSafe for Genesis

impl Send for Genesis

impl Sync for Genesis

impl Unpin for Genesis

impl UnwindSafe for Genesis

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> MaybeDebug for T where
    T: Debug

impl<T> MaybeDebug for T where
    T: Debug
[src]

impl<T> MaybeDebug for T where
    T: Debug

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,