Interface IPreEvaluationBlockHeader
A common interface for blocks that have their proof-of-work Nonces, but are not evaluated yet (i.e., state root hash is not yet determined).
Inherited Members
Namespace: Libplanet.Blocks
Assembly: Libplanet.dll
Syntax
public interface IPreEvaluationBlockHeader : IBlockMetadata
Properties
| Improve this Doc View SourceHashAlgorithm
The hash algorithm used for calculating PreEvaluationHash.
Declaration
HashAlgorithmType HashAlgorithm { get; }
Property Value
Type | Description |
---|---|
HashAlgorithmType |
Nonce
The proof-of-work nonce which satisfies the required Difficulty.
Declaration
Nonce Nonce { get; }
Property Value
Type | Description |
---|---|
Nonce |
PreEvaluationHash
The hash derived from the block except of its state root hash (i.e., without action evaluation). Used for validating Nonce.
Declaration
ImmutableArray<byte> PreEvaluationHash { get; }
Property Value
Type | Description |
---|---|
ImmutableArray<Byte> |