Show / Hide Table of Contents

    Class DeltaHashProvider

    Inheritance
    System.Object
    DeltaHashProvider
    Implements
    IDeltaHashProvider
    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.Deltas
    Assembly: Catalyst.Core.Modules.Consensus.dll
    Syntax
    public class DeltaHashProvider : IDeltaHashProvider

    Constructors

    | Improve this Doc View Source

    DeltaHashProvider(IDeltaCache, ILogger, Int32)

    Declaration
    public DeltaHashProvider(IDeltaCache deltaCache, ILogger logger, int capacity = 10000)
    Parameters
    Type Name Description
    IDeltaCache deltaCache
    ILogger logger
    System.Int32 capacity

    Properties

    | Improve this Doc View Source

    DeltaHashUpdates

    Declaration
    public IObservable<MultiHash> DeltaHashUpdates { get; }
    Property Value
    Type Description
    System.IObservable<MultiHash>

    Methods

    | Improve this Doc View Source

    GetLatestDeltaHash(Nullable<DateTime>)

    Declaration
    public MultiHash GetLatestDeltaHash(DateTime? asOf = default(DateTime? ))
    Parameters
    Type Name Description
    System.Nullable<System.DateTime> asOf
    Returns
    Type Description
    MultiHash
    | Improve this Doc View Source

    TryUpdateLatestHash(MultiHash, MultiHash)

    Declaration
    public bool TryUpdateLatestHash(MultiHash previousHash, MultiHash newHash)
    Parameters
    Type Name Description
    MultiHash previousHash
    MultiHash newHash
    Returns
    Type Description
    System.Boolean

    Implements

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