Show / Hide Table of Contents

Interface IPreEvaluationBlock<T>

A common interface for blocks that have their proof-of-work Nonces and Transactions, but are not evaluated yet (i.e., their state root hashes are not yet determined).

Inherited Members
IBlockContent<T>.Transactions
IPreEvaluationBlockHeader.Nonce
IPreEvaluationBlockHeader.HashAlgorithm
IPreEvaluationBlockHeader.PreEvaluationHash
IBlockMetadata.ProtocolVersion
IBlockMetadata.Index
IBlockMetadata.Timestamp
IBlockMetadata.Miner
IBlockMetadata.PublicKey
IBlockMetadata.Difficulty
IBlockMetadata.TotalDifficulty
IBlockMetadata.PreviousHash
IBlockMetadata.TxHash
Namespace: Libplanet.Blocks
Assembly: Libplanet.dll
Syntax
public interface IPreEvaluationBlock<T> : IBlockContent<T>, IPreEvaluationBlockHeader, IBlockMetadata where T : IAction, new()
Type Parameters
Name Description
T

A class implementing IAction to include. This type parameter is aligned with Transaction<T>'s type parameter.

Extension Methods

BlockMetadataExtensions.Copy(IBlockMetadata)
BlockMetadataExtensions.ValidateTimestamp(IBlockMetadata)
BlockMetadataExtensions.ValidateTimestamp(IBlockMetadata, DateTimeOffset)
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2021 Planetarium