pub struct BlockSynchronizerParameters {
pub range_synchronize_timeout: Duration,
pub certificates_synchronize_timeout: Duration,
pub payload_synchronize_timeout: Duration,
pub payload_availability_timeout: Duration,
pub handler_certificate_deliver_timeout: Duration,
}
Fields
range_synchronize_timeout: Duration
The timeout configuration for synchronizing certificate digests from a starting round.
certificates_synchronize_timeout: Duration
The timeout configuration when requesting certificates from peers.
payload_synchronize_timeout: Duration
Timeout when has requested the payload for a certificate and is waiting to receive them.
payload_availability_timeout: Duration
The timeout configuration when for when we ask the other peers to discover who has the payload available for the dictated certificates.
handler_certificate_deliver_timeout: Duration
When a certificate is fetched on the fly from peers, it is submitted from the block synchronizer handler for further processing to core to validate and ensure parents are available and history is causal complete. This property is the timeout while we wait for core to perform this processes and the certificate to become available to the handler to consume.
Trait Implementations
sourceimpl Clone for BlockSynchronizerParameters
impl Clone for BlockSynchronizerParameters
sourcefn clone(&self) -> BlockSynchronizerParameters
fn clone(&self) -> BlockSynchronizerParameters
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for BlockSynchronizerParameters
impl Debug for BlockSynchronizerParameters
sourceimpl Default for BlockSynchronizerParameters
impl Default for BlockSynchronizerParameters
sourceimpl<'de> Deserialize<'de> for BlockSynchronizerParameterswhere
BlockSynchronizerParameters: Default,
impl<'de> Deserialize<'de> for BlockSynchronizerParameterswhere
BlockSynchronizerParameters: Default,
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for BlockSynchronizerParameters
impl Send for BlockSynchronizerParameters
impl Sync for BlockSynchronizerParameters
impl Unpin for BlockSynchronizerParameters
impl UnwindSafe for BlockSynchronizerParameters
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Clear for Twhere
T: InitializableFromZeroed + ?Sized,
impl<T> Clear for Twhere
T: InitializableFromZeroed + ?Sized,
fn clear(&mut self)
fn clear(&mut self)
Completely overwrites this value.
sourceimpl<D> Import for Dwhere
D: DeserializeOwned,
impl<D> Import for Dwhere
D: DeserializeOwned,
fn import(path: &str) -> Result<Self, ConfigError>
impl<T> InitializableFromZeroed for Twhere
T: Default,
impl<T> InitializableFromZeroed for Twhere
T: Default,
unsafe fn initialize(place: *mut T)
unsafe fn initialize(place: *mut T)
Called to initialize a place to a valid value, after it is set
to all-bits-zero. Read more