Show / Hide Table of Contents

Class IncompleteBlockStatesException

The exception that is thrown when a BlockChain<T> have not calculated the complete states for all blocks, but an operation that needs some lacked states is requested.

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

Constructors

| Improve this Doc View Source

IncompleteBlockStatesException(HashDigest<SHA256>, String)

Creates a new IncompleteBlockStatesException object.

Declaration
public IncompleteBlockStatesException(HashDigest<SHA256> blockHash, string message = null)
Parameters
Type Name Description
HashDigest<SHA256> blockHash

Specifies BlockHash. It is automatically included to the string.

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 HashDigest<SHA256> BlockHash { get; }
Property Value
Type Description
HashDigest<SHA256>
  • Improve this Doc
  • View Source
Back to top Copyright © 2019–2020 Planetarium