pub struct ExecutorParameters {
pub group_size: u16,
pub group_backup_size: u16,
pub allowed_stragglers: u16,
pub round_timeout: i64,
pub max_messages: u32,
pub min_live_rounds_percent: u8,
pub max_missed_proposals_percent: u8,
pub min_live_rounds_eval: u64,
pub max_liveness_fails: u8,
}Expand description
Parameters for the executor committee.
Fields§
§group_size: u16Size of the committee.
group_backup_size: u16Size of the discrepancy resolution group.
allowed_stragglers: u16Number of allowed stragglers.
round_timeout: i64Round timeout in consensus blocks.
max_messages: u32Maximum number of messages that can be emitted by the runtime in a single round.
min_live_rounds_percent: u8Minimum percentage of rounds in an epoch that a node must participate in positively in order to be considered live. Nodes not satisfying this may be penalized.
max_missed_proposals_percent: u8Maximum percentage of proposed rounds in an epoch that can fail for a node to be considered live. Nodes not satisfying this may be penalized. Zero means that all proposed rounds can fail.
min_live_rounds_eval: u64Minimum number of live rounds in an epoch for the liveness calculations to be considered for evaluation.
max_liveness_fails: u8Maximum number of liveness failures that are tolerated before suspending and/or slashing the node. Zero means unlimited.
Trait Implementations§
Source§impl Clone for ExecutorParameters
impl Clone for ExecutorParameters
Source§fn clone(&self) -> ExecutorParameters
fn clone(&self) -> ExecutorParameters
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ExecutorParameters
impl Debug for ExecutorParameters
Source§impl Decode for ExecutorParameters
impl Decode for ExecutorParameters
Source§fn try_default() -> Result<Self, DecodeError>
fn try_default() -> Result<Self, DecodeError>
Source§fn try_from_cbor_value(value: Value) -> Result<Self, DecodeError>
fn try_from_cbor_value(value: Value) -> Result<Self, DecodeError>
§fn try_from_cbor_value_default(value: Value) -> Result<Self, DecodeError>where
Self: Sized,
fn try_from_cbor_value_default(value: Value) -> Result<Self, DecodeError>where
Self: Sized,
try_default in case the value is null or
undefined.