Table of Contents

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 TimeSpan

The base value for triggering a timeout.

Increase Ratio

Factor for increasing the timeout. Must be greater than 1.

Decrease Ratio

Factor 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

Ratio

Duration

The base value for triggering a timeout.

public TimeSpan Duration { get; init; }

Property Value

TimeSpan

Increase

Factor for increasing the timeout. Must be greater than 1.

public Ratio Increase { get; init; }

Property Value

Ratio