Class TimeoutParameters
- Namespace
- Concordium.Sdk.Types
- Assembly
- Concordium.Sdk.dll
Parameters that determine timeouts in the consensus protocol used from protocol version 6.
public sealed record TimeoutParameters : IEquatable<TimeoutParameters>
- Inheritance
-
TimeoutParameters
- Implements
- Inherited Members
Constructors
TimeoutParameters(TimeSpan, Ratio, Ratio)
Parameters that determine timeouts in the consensus protocol used from protocol version 6.
public TimeoutParameters(TimeSpan Duration, Ratio Increase, Ratio Decrease)
Parameters
Duration
TimeSpanThe base value for triggering a timeout.
Increase
RatioFactor for increasing the timeout. Must be greater than 1.
Decrease
RatioFactor for decreasing the timeout. Must be between 0 and 1.
Properties
Decrease
Factor for decreasing the timeout. Must be between 0 and 1.
public Ratio Decrease { get; init; }
Property Value
Duration
The base value for triggering a timeout.
public TimeSpan Duration { get; init; }
Property Value
Increase
Factor for increasing the timeout. Must be greater than 1.
public Ratio Increase { get; init; }