[][src]Struct abci::types::BlockParams

pub struct BlockParams {
    pub max_bytes: i64,
    pub max_gas: i64,
}

Fields

max_bytes: i64

Max size of a block, in bytes

max_gas: i64

Max sum of GasWanted in a proposed block

Note

Blocks that violate this may be committed if there are Byzantine proposers. It's the application's responsibility to handle this when processing a block!

Trait Implementations

impl Debug for BlockParams[src]

impl Default for BlockParams[src]

Auto Trait Implementations

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, 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.