Class ConcordiumBftDetails
- Namespace
- Concordium.Sdk.Types
- Assembly
- Concordium.Sdk.dll
Parameters pertaining to the Concordium BFT consensus.
public sealed record ConcordiumBftDetails : IEquatable<ConcordiumBftDetails>
- Inheritance
-
ConcordiumBftDetails
- Implements
- Inherited Members
Constructors
ConcordiumBftDetails(TimeSpan, Round, Epoch, DateTimeOffset)
Parameters pertaining to the Concordium BFT consensus.
public ConcordiumBftDetails(TimeSpan CurrentTimeoutDuration, Round CurrentRound, Epoch CurrentEpoch, DateTimeOffset TriggerBlockTime)
Parameters
CurrentTimeoutDurationTimeSpanThe current duration to wait before a round times out.
CurrentRoundRoundThe current round.
CurrentEpochEpochThe current epoch.
TriggerBlockTimeDateTimeOffsetThe first block in the epoc with a timestamp equal to or later than this timestamp, is considered to be the trigger block for the epoch transition.
Properties
CurrentEpoch
The current epoch.
public Epoch CurrentEpoch { get; init; }
Property Value
CurrentRound
The current round.
public Round CurrentRound { get; init; }
Property Value
CurrentTimeoutDuration
The current duration to wait before a round times out.
public TimeSpan CurrentTimeoutDuration { get; init; }
Property Value
TriggerBlockTime
The first block in the epoc with a timestamp equal to or later than this timestamp, is considered to be the trigger block for the epoch transition.
public DateTimeOffset TriggerBlockTime { get; init; }