Delegate HashAlgorithmGetter
The delegate to determine a hash algorithm to use for a blockIndex.
Namespace: Libplanet.Blocks
Assembly: Libplanet.dll
Syntax
public delegate HashAlgorithmType HashAlgorithmGetter(long blockIndex);
Parameters
| Type | Name | Description |
|---|---|---|
| Int64 | blockIndex | The Index of a block to determine its hash algorithm. |
Returns
| Type | Description |
|---|---|
| HashAlgorithmType | The hash algorithm to be used for proof-of-work on the block. |