Show / Hide Table of Contents

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.

  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2021 Planetarium