Interface IDeltaDfsReader
Provides convenience method to read Delta from the Dfs.
Namespace: Catalyst.Abstractions.Consensus.Deltas
Assembly: Catalyst.Abstractions.dll
Syntax
public interface IDeltaDfsReader
Methods
| Improve this Doc View SourceTryReadDeltaFromDfs(Cid, out Delta, CancellationToken)
Asynchronously retrieves the content at the hash/address on the Dfs, and tries to parse it as a Delta.
Declaration
bool TryReadDeltaFromDfs(Cid cid, out Delta delta, CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| Cid | cid | The Cid or address of the delta on the Dfs. |
| Delta | delta | The retrieved delta. |
| System.Threading.CancellationToken | cancellationToken | An optional cancellation token which can be used to interrupt the tasks. |
Returns
| Type | Description |
|---|---|
| System.Boolean |