Namespace Libplanet.Types.Blocks
Classes
Block
The complete block including all block contents and action evaluation.
BlockCommit
BlockContent
A block content without any proofs like nonce or hash. This represents contents of a block that is not yet mined.
BlockExcerptExtensions
The extension methods for IBlockExcerpt.
BlockHeader
Block header containing information about Blocks except transactions.
BlockMarshaler
Marshaling and unmarshalling block data.
BlockMetadata
A block metadata without transactions or any proof hash. This represents metadata of a block that is not yet mined nor proven.
To represent a block content including its metadata and transactions, use BlockContent.
BlockPolicyViolationException
An exception returned when a Block violates
a
IBlockMetadataExtensions
Convenient extension methods for IBlockMetadata.
InvalidBlockBytesLengthException
An exception thrown when the encoded bytes of Transactions exceeds
InvalidBlockCommitException
InvalidBlockEvidenceHashException
InvalidBlockException
Serves as the base class for exceptions related Blocks' integrity and validity.
InvalidBlockHashException
InvalidBlockIndexException
InvalidBlockLastCommitException
InvalidBlockPreEvaluationHashException
The exception that is thrown when the a Block's PreEvaluationHash is invalid.
InvalidBlockPreviousHashException
InvalidBlockProtocolVersionException
The exception that is thrown when a Block's ProtocolVersion (or a BlockHeader's ProtocolVersion) is invalid.
InvalidBlockPublicKeyException
An exception thrown when a block's public key is invalid.
InvalidBlockSignatureException
An exception thrown when a block's signature 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
InvalidBlockTxCountException
An exception thrown when the count of Transactions
does not follow the constraint provided by
InvalidBlockTxCountPerSignerException
An exception thrown when the count of Transactions
does not follow the constraint provided by
InvalidBlockTxHashException
InvalidGenesisBlockException
The exception that is thrown when the genesis block the
PreEvaluationBlock
A block candidate without evaluating actions (in its Transactions and
a possible
PreEvaluationBlockHeader
A block candidate without evaluating actions (in its transactions and a possible
Structs
BlockHash
A value type to represent SHA-256 digest of Block data.
Interfaces
IBlockContent
A common interface for blocks that do not have any proofs, but have their metadata and containing Transactions.
IBlockExcerpt
The very essential metadata extracted from a block. This purposes to determine the canonical chain.
IBlockHeader
A common interface for blocks that have StateRootHashes, but no transactions.
IBlockMetadata
A common interface for blocks that do not have any proofs nor transactions (but only TxHash).
IPreEvaluationBlock
A common interface for blocks that have their Transactions, but are not evaluated yet (i.e., their state root hashes are not yet determined).
IPreEvaluationBlockHeader
A common interface for blocks that are not evaluated yet (i.e., state root hash is not yet determined).