Class InvalidBlockPreEvaluationHashException
Inheritance
InvalidBlockPreEvaluationHashException
Assembly: Libplanet.dll
Syntax
public class InvalidBlockPreEvaluationHashException : InvalidBlockException
Constructors
|
Improve this Doc
View Source
InvalidBlockPreEvaluationHashException(ImmutableArray<Byte>, ImmutableArray<Byte>, String)
Declaration
public InvalidBlockPreEvaluationHashException(ImmutableArray<byte> actualPreEvaluationHash, ImmutableArray<byte> expectedPreEvaluationHash, string message)
Parameters
Type |
Name |
Description |
ImmutableArray<Byte> |
actualPreEvaluationHash |
The hash recorded as
PreEvaluationHash.
|
ImmutableArray<Byte> |
expectedPreEvaluationHash |
The hash calculated from the block except
StateRootHash.
|
String |
message |
The message that describes the error.
|
Properties
|
Improve this Doc
View Source
ActualPreEvaluationHash
Declaration
public ImmutableArray<byte> ActualPreEvaluationHash { get; }
Property Value
Type |
Description |
ImmutableArray<Byte> |
|
|
Improve this Doc
View Source
ExpectedPreEvaluationHash
Declaration
public ImmutableArray<byte> ExpectedPreEvaluationHash { get; }
Property Value
Type |
Description |
ImmutableArray<Byte> |
|
Methods
|
Improve this Doc
View Source
GetObjectData(SerializationInfo, StreamingContext)
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type |
Name |
Description |
SerializationInfo |
info |
|
StreamingContext |
context |
|
Operators
|
Improve this Doc
View Source
Equality(InvalidBlockPreEvaluationHashException, InvalidBlockPreEvaluationHashException)
Declaration
public static bool operator ==(InvalidBlockPreEvaluationHashException left, InvalidBlockPreEvaluationHashException right)
Parameters
Returns
|
Improve this Doc
View Source
Inequality(InvalidBlockPreEvaluationHashException, InvalidBlockPreEvaluationHashException)
Declaration
public static bool operator !=(InvalidBlockPreEvaluationHashException left, InvalidBlockPreEvaluationHashException right)
Parameters
Returns