Class InvalidBlockPreEvaluationHashException
The exception that is thrown when the a Block's
Pre
Implements
Namespace: Libplanet.Types.Blocks
Assembly: Libplanet.Types.dll
Syntax
public class InvalidBlockPreEvaluationHashException : InvalidBlockException
Constructors
| Improve this Doc View SourceInvalidBlockPreEvaluationHashException(String, ImmutableArray<Byte>, ImmutableArray<Byte>)
Initializes a new instance of the
Invalid
Declaration
public InvalidBlockPreEvaluationHashException(string message, ImmutableArray<byte> actualPreEvaluationHash, ImmutableArray<byte> expectedPreEvaluationHash)
Parameters
Type | Name | Description |
---|---|---|
System. |
message | The message that describes the error. |
Immutable |
actualPreEvaluationHash | The hash recorded as
Pre |
Immutable |
expectedPreEvaluationHash | The hash calculated from the block except
State |
Properties
| Improve this Doc View SourceActualPreEvaluationHash
The hash calculated from the block except State
Declaration
public ImmutableArray<byte> ActualPreEvaluationHash { get; }
Property Value
Type | Description |
---|---|
Immutable |
ExpectedPreEvaluationHash
The hash recorded as Pre
Declaration
public ImmutableArray<byte> ExpectedPreEvaluationHash { get; }
Property Value
Type | Description |
---|---|
Immutable |
Methods
| Improve this Doc View SourceEquals(InvalidBlockPreEvaluationHashException)
The exception that is thrown when the a Block's
Pre
Declaration
public bool Equals(InvalidBlockPreEvaluationHashException other)
Parameters
Type | Name | Description |
---|---|---|
Invalid |
other |
Returns
Type | Description |
---|---|
System. |
Equals(Nullable<Object>)
The exception that is thrown when the a Block's
Pre
Declaration
public override bool Equals(object? obj)
Parameters
Type | Name | Description |
---|---|---|
System. |
obj |
Returns
Type | Description |
---|---|
System. |
GetHashCode()
The exception that is thrown when the a Block's
Pre
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System. |
GetObjectData(SerializationInfo, StreamingContext)
The exception that is thrown when the a Block's
Pre
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
Serialization |
info | |
Streaming |
context |
Operators
| Improve this Doc View SourceEquality(InvalidBlockPreEvaluationHashException, InvalidBlockPreEvaluationHashException)
The exception that is thrown when the a Block's
Pre
Declaration
public static bool operator ==(InvalidBlockPreEvaluationHashException left, InvalidBlockPreEvaluationHashException right)
Parameters
Type | Name | Description |
---|---|---|
Invalid |
left | |
Invalid |
right |
Returns
Type | Description |
---|---|
System. |
Inequality(InvalidBlockPreEvaluationHashException, InvalidBlockPreEvaluationHashException)
The exception that is thrown when the a Block's
Pre
Declaration
public static bool operator !=(InvalidBlockPreEvaluationHashException left, InvalidBlockPreEvaluationHashException right)
Parameters
Type | Name | Description |
---|---|---|
Invalid |
left | |
Invalid |
right |
Returns
Type | Description |
---|---|
System. |