Show / Hide Table of Contents

Namespace Libplanet.Blocks

Classes

Block<T>

BlockExceedingTransactionsException

The exception that is thrown when a Block<T> has too many Transactions (i.e., more than the number specified by MaxTransactionsPerBlock).

BlockExcerpt

The extension methods for IBlockExcerpt.

InvalidBlockBytesLengthException

The exception that is thrown when a Block<T>'s BytesLength (i.e., the length of bytes in its serialized format) is too long.

InvalidBlockDifficultyException

InvalidBlockException

Serves as the base class for exceptions related Block<T>s' integrity and validity.

InvalidBlockHashException

InvalidBlockIndexException

InvalidBlockNonceException

InvalidBlockPreEvaluationHashException

The exception that is thrown when the a Block<T>'s PreEvaluationHash is invalid.

InvalidBlockPreviousHashException

InvalidBlockProtocolVersionException

The exception that is thrown when a Block<T>'s ProtocolVersion (or a BlockHeader's ProtocolVersion) is invalid.

InvalidBlockStateRootHashException

The exception that is thrown when the state root hash in the block has mismatches to the state root hash of the trie on the block executed in local.

InvalidBlockTimestampException

InvalidBlockTotalDifficultyException

InvalidBlockTxHashException

InvalidGenesisBlockException

The exception that is thrown when the genesis block the IStore contains mismatches to the genesis block the BlockChain<T> constructor (i.e., network) expects or the first block of Libplanet.Blockchain.BlockLocator which the IStore doesn't contain, because the block which IStore doesn't means the genesis block in other network.

Structs

BlockDigest

Class that store uses to save blocks. This contains: BlockHeader, and list of TxIds.

BlockHeader

Block header containing information about Block<T>s except transactions.

Interfaces

IBlockExcerpt

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

In This Article
Back to top Copyright © 2018–2021 Planetarium