Show / Hide Table of Contents

Interface IBlockExcerpt

The very essential metadata extracted from a block. This purposes to determine the canonical chain.

Namespace: Libplanet.Types.Blocks
Assembly: Libplanet.Types.dll
Syntax
public interface IBlockExcerpt

Properties

| Improve this Doc View Source

Hash

A block's hash.

Declaration
BlockHash Hash { get; }
Property Value
Type Description
BlockHash
See Also
PreEvaluationHash
StateRootHash
Hash
| Improve this Doc View Source

Index

A block's index (height).

Declaration
long Index { get; }
Property Value
Type Description
System.Int64
See Also
Index
| Improve this Doc View Source

ProtocolVersion

A block's protocol version.

Declaration
int ProtocolVersion { get; }
Property Value
Type Description
System.Int32
See Also
ProtocolVersion

Extension Methods

BlockExcerptExtensions.ExcerptEquals(IBlockExcerpt, IBlockExcerpt)
BlockExcerptExtensions.ToExcerptString(IBlockExcerpt)
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2023 Planetarium