Class InvalidBlockPreEvaluationHashException
Inheritance
InvalidBlockPreEvaluationHashException
Assembly: Libplanet.dll
Syntax
public class InvalidBlockPreEvaluationHashException : InvalidBlockException, IEquatable<InvalidBlockPreEvaluationHashException>
Constructors
|
Improve this Doc
View Source
InvalidBlockPreEvaluationHashException(String, ImmutableArray<Byte>, ImmutableArray<Byte>)
Declaration
public InvalidBlockPreEvaluationHashException(string message, ImmutableArray<byte> actualPreEvaluationHash, ImmutableArray<byte> expectedPreEvaluationHash)
Parameters
Type |
Name |
Description |
String |
message |
The message that describes the error.
|
ImmutableArray<Byte> |
actualPreEvaluationHash |
The hash recorded as
PreEvaluationHash.
|
ImmutableArray<Byte> |
expectedPreEvaluationHash |
The hash calculated from the block except
StateRootHash.
|
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
Equals(InvalidBlockPreEvaluationHashException)
Declaration
public bool Equals(InvalidBlockPreEvaluationHashException other)
Parameters
Returns
|
Improve this Doc
View Source
Equals(Nullable<Object>)
Declaration
public override bool Equals(object? obj)
Parameters
Returns
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
|
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
Implements
IEquatable<>