Show / Hide Table of Contents

    Interface IDeltaBuilder

    The service in charge of building the delta state update used to update the ledger update for a given cycle.

    Namespace: Catalyst.Abstractions.Consensus.Deltas
    Assembly: Catalyst.Abstractions.dll
    Syntax
    public interface IDeltaBuilder

    Methods

    | Improve this Doc View Source

    BuildCandidateDelta(MultiHash)

    Builds a new candidate delta based on the content of its predecessor, and cache the full content of the delta locally. If the delta is elected at the end of the cycle, the cache will be used to retrieve and publish the whole delta onto the DFS.

    Declaration
    CandidateDeltaBroadcast BuildCandidateDelta(MultiHash previousDeltaHash)
    Parameters
    Type Name Description
    MultiHash previousDeltaHash

    The content based address of the previous delta on the Dfs.

    Returns
    Type Description
    CandidateDeltaBroadcast

    Returns a candidate delta object that contains the hash for the update, the hash for the previous delta and the producer's PeerId

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