pub struct Settings {
pub step_duration: u64,
pub prevote_blocks_multiple: u64,
pub max_hashes_per_point: u64,
pub voting_set_grouping: u64,
}Expand description
段取りの設定。catapult の config-finalization.properties と、config-network.properties の votingSetGrouping
Fields§
§step_duration: u64stepDuration(ミリ秒)。prevote はこの1倍、precommit は2倍待てば、結果が決まっていなくても出す
prevote_blocks_multiple: u64prevoteBlocksMultiple。prevote の最後の高さを、この倍数にそろえる
max_hashes_per_point: u64maxHashesPerPoint
voting_set_grouping: u64votingSetGrouping
Implementations§
Trait Implementations§
impl Copy for Settings
impl Eq for Settings
impl StructuralPartialEq for Settings
Auto Trait Implementations§
impl Freeze for Settings
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnsafeUnpin for Settings
impl UnwindSafe for Settings
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