Struct oasis_runtime_sdk::config::ScheduleControl
source · pub struct ScheduleControl {
pub initial_batch_size: u32,
pub batch_size: u32,
pub min_remaining_gas: u64,
pub max_tx_count: usize,
}
Expand description
Runtime schedule control configuration.
Fields§
§initial_batch_size: u32
Size of the initial batch that the node should provide to the runtime.
batch_size: u32
Size of each extra batch that the runtime should fetch.
min_remaining_gas: u64
Minimum amount of gas that needs to be remaining in a batch in order to still consider including new transactions.
max_tx_count: usize
Maximum number of transactions that can go in a batch.
This is only used as a last resort to avoid the batch going over the runtime’s limit.
Implementations§
Auto Trait Implementations§
impl Freeze for ScheduleControl
impl RefUnwindSafe for ScheduleControl
impl Send for ScheduleControl
impl Sync for ScheduleControl
impl Unpin for ScheduleControl
impl UnwindSafe for ScheduleControl
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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