Show / Hide Table of Contents

Interface IBlockContent

A common interface for blocks that do not have any proofs, but have their metadata and containing Transactions.

Inherited Members
IBlockMetadata.ProtocolVersion
IBlockMetadata.Index
IBlockMetadata.Timestamp
IBlockMetadata.Miner
IBlockMetadata.PublicKey
IBlockMetadata.PreviousHash
IBlockMetadata.TxHash
IBlockMetadata.LastCommit
IBlockMetadata.EvidenceHash
Namespace: Libplanet.Types.Blocks
Assembly: Libplanet.Types.dll
Syntax
public interface IBlockContent : IBlockMetadata
Remarks

This is always ordered by Id.

Properties

| Improve this Doc View Source

Evidence

A common interface for blocks that do not have any proofs, but have their metadata and containing Transactions.

Declaration
IReadOnlyList<EvidenceBase> Evidence { get; }
Property Value
Type Description
IReadOnlyList<EvidenceBase>
Remarks

This is always ordered by Id.

| Improve this Doc View Source

Transactions

Transactions belonging to the block.

Declaration
IReadOnlyList<ITransaction> Transactions { get; }
Property Value
Type Description
IReadOnlyList<ITransaction>
Remarks

This is always ordered by Id.

Extension Methods

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