Show / Hide Table of Contents

Class IncompleteBlockStatesException

An exception thrown when a BlockChain<T> have not calculated the complete states for all blocks but an operation is requested that requires the missing states.

Inheritance
Object
IncompleteBlockStatesException
Namespace: Libplanet.Blockchain
Assembly: Libplanet.dll
Syntax
public class IncompleteBlockStatesException : Exception

Constructors

| Improve this Doc View Source

IncompleteBlockStatesException(BlockHash, Nullable<String>)

Creates a new IncompleteBlockStatesException object.

Declaration
public IncompleteBlockStatesException(BlockHash blockHash, string? message = null)
Parameters
Type Name Description
BlockHash blockHash

Specifies BlockHash. It is automatically included in the string.

Nullable<String> message

Specifies the .

Properties

| Improve this Doc View Source

BlockHash

The Hash of Block<T> that a BlockChain<T> lacks the states.

Declaration
public BlockHash BlockHash { get; }
Property Value
Type Description
BlockHash
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2021 Planetarium