pub struct Block {
pub max_bytes: u64,
pub max_gas: i64,
pub time_iota_ms: i64,
}
Expand description
Block size parameters
Fields§
§max_bytes: u64
Maximum number of bytes in a block
max_gas: i64
Maximum amount of gas which can be spent on a block
time_iota_ms: i64
This parameter has no value anymore in Tendermint-core
Auto Trait Implementations§
impl Freeze for Block
impl RefUnwindSafe for Block
impl Send for Block
impl Sync for Block
impl Unpin for Block
impl UnwindSafe for Block
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more