Show / Hide Table of Contents

    Interface IDateTimeProvider

    This interface is in charge of providing the network time to synchronise the different cycles and phases of the consensus loop.

    Namespace: Catalyst.Abstractions.Consensus
    Assembly: Catalyst.Abstractions.dll
    Syntax
    public interface IDateTimeProvider
    Remarks

    It is assumed that all times are expressed in UTC

    Properties

    | Improve this Doc View Source

    UtcNow

    Returns the current time expressed in UTC.

    Declaration
    DateTime UtcNow { get; }
    Property Value
    Type Description
    System.DateTime
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Catalyst Network