Interface IDeltaProducersProvider
This is the service in charge of providing the list of PeerIdentifiers that are eligible for the production of the next delta.
Namespace: Catalyst.Core.Modules.Consensus.Deltas
Assembly: Catalyst.Core.Modules.Consensus.dll
Syntax
public interface IDeltaProducersProvider
Properties
| Improve this Doc View SourcePeerRepository
A peer repository containing peers eligible for the production of the next delta.
Declaration
IPeerRepository PeerRepository { get; }
Property Value
Type | Description |
---|---|
IPeerRepository |
Methods
| Improve this Doc View SourceGetDeltaProducersFromPreviousDelta(MultiHash)
Finds the identifiers of the peers which are allowed to produce the next delta.
Declaration
IList<PeerId> GetDeltaProducersFromPreviousDelta(MultiHash previousDeltaHash)
Parameters
Type | Name | Description |
---|---|---|
MultiHash | previousDeltaHash | The content based address of the previous delta on the Dfs. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IList<PeerId> | The list of peers which are eligible for the production of the delta following |