Show / Hide Table of Contents

Namespace Libplanet.Blocks

Classes

Block<T>

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

InvalidBlockPreviousHashException

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

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.

Back to top Copyright © 2019–2020 Planetarium