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

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Completely overwrites this value.

Returns the argument unchanged.

Called to initialize a place to a valid value, after it is set to all-bits-zero. Read more
Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more