Show / Hide Table of Contents

    Interface IDeltaVoter

    This component is meant to be used to produce and retrieve ranking/voting data about the different candidate deltas observed on the network, in order to be able to determine which candidate should eventually make it to the DFS.

    Inherited Members
    System.IObserver<Catalyst.Protocol.Wire.CandidateDeltaBroadcast>.OnCompleted()
    System.IObserver<Catalyst.Protocol.Wire.CandidateDeltaBroadcast>.OnError(System.Exception)
    System.IObserver<Catalyst.Protocol.Wire.CandidateDeltaBroadcast>.OnNext(Catalyst.Protocol.Wire.CandidateDeltaBroadcast)
    Namespace: Catalyst.Abstractions.Consensus.Deltas
    Assembly: Catalyst.Abstractions.dll
    Syntax
    public interface IDeltaVoter : IObserver<CandidateDeltaBroadcast>
    Remarks

    A producer will call that method at the start of the Campaigning phase.

    Methods

    | Improve this Doc View Source

    TryGetFavouriteDelta(MultiHash, out FavouriteDeltaBroadcast)

    Declaration
    bool TryGetFavouriteDelta(MultiHash previousDeltaDfsHash, out FavouriteDeltaBroadcast favourite)
    Parameters
    Type Name Description
    MultiHash previousDeltaDfsHash
    FavouriteDeltaBroadcast favourite
    Returns
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Catalyst Network