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 SourceBuildCandidateDelta(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 |