Show / Hide Table of Contents

    Class PhaseTimings

    A placeholder for the timespans corresponding to the different periods of a given phase. Each phase starts with an Offset, then

    Inheritance
    System.Object
    PhaseTimings
    Implements
    IPhaseTimings
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Catalyst.Core.Modules.Consensus.Cycle
    Assembly: Catalyst.Core.Modules.Consensus.dll
    Syntax
    public class PhaseTimings : IPhaseTimings

    Constructors

    | Improve this Doc View Source

    PhaseTimings(TimeSpan, TimeSpan, TimeSpan)

    Declaration
    public PhaseTimings(TimeSpan offset, TimeSpan productionTime, TimeSpan collectionTime)
    Parameters
    Type Name Description
    System.TimeSpan offset
    System.TimeSpan productionTime
    System.TimeSpan collectionTime

    Properties

    | Improve this Doc View Source

    CollectionTime

    Time during which a phase is in the Collecting status.

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

    Offset

    Time between the start of a cycle and the start of the phase.

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

    ProductionTime

    Time during which a phase is in the Producing status.

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

    TotalTime

    The total duration of the phase, after which it will go Idle until the next cycle.

    Declaration
    public TimeSpan TotalTime { get; }
    Property Value
    Type Description
    System.TimeSpan

    Implements

    IPhaseTimings
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Catalyst Network