Show / Hide Table of Contents

    Interface ICycleConfiguration

    This can be thought of as a sort of configuration used by the ICycleEventsProvider to set the durations of the different phases in a cycle. A given cycle has 4 distinct phases occuring in the following order: Construction, Campaigning, Voting and Synchronisation.

    Namespace: Catalyst.Abstractions.Consensus.Cycle
    Assembly: Catalyst.Abstractions.dll
    Syntax
    public interface ICycleConfiguration

    Properties

    | Improve this Doc View Source

    Campaigning

    Declaration
    IPhaseTimings Campaigning { get; }
    Property Value
    Type Description
    IPhaseTimings
    | Improve this Doc View Source

    Construction

    Declaration
    IPhaseTimings Construction { get; }
    Property Value
    Type Description
    IPhaseTimings
    | Improve this Doc View Source

    CycleDuration

    The total duration of a cycle composed of the 4 phases Construction, Campaigning, Voting and Synchronisation

    Declaration
    TimeSpan CycleDuration { get; }
    Property Value
    Type Description
    System.TimeSpan
    | Improve this Doc View Source

    Synchronisation

    Declaration
    IPhaseTimings Synchronisation { get; }
    Property Value
    Type Description
    IPhaseTimings
    | Improve this Doc View Source

    TimingsByName

    This dictionary can be used to retrieve the PhaseTimings for a give PhaseName

    Declaration
    IReadOnlyDictionary<IPhaseName, IPhaseTimings> TimingsByName { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyDictionary<IPhaseName, IPhaseTimings>
    | Improve this Doc View Source

    Voting

    Declaration
    IPhaseTimings Voting { get; }
    Property Value
    Type Description
    IPhaseTimings
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Catalyst Network