Show / Hide Table of Contents

Class InvalidBlockPreEvaluationHashException

The exception that is thrown when the a Block's PreEvaluationHash is invalid.

Inheritance
Object
Exception
InvalidBlockException
InvalidBlockPreEvaluationHashException
Implements
ISerializable
IEquatable<InvalidBlockPreEvaluationHashException>
Inherited Members
Exception.GetBaseException()
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState
Object.Equals(Object, Object)
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Namespace: Libplanet.Types.Blocks
Assembly: Libplanet.Types.dll
Syntax
[Serializable]
public class InvalidBlockPreEvaluationHashException : InvalidBlockException, ISerializable, IEquatable<InvalidBlockPreEvaluationHashException>

Constructors

| Improve this Doc View Source

InvalidBlockPreEvaluationHashException(String, ImmutableArray<Byte>, ImmutableArray<Byte>)

Initializes a new instance of the InvalidBlockPreEvaluationHashException class.

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

The hash calculated from the block except StateRootHash.

Declaration
[Pure]
public ImmutableArray<byte> ActualPreEvaluationHash { get; }
Property Value
Type Description
ImmutableArray<Byte>
| Improve this Doc View Source

ExpectedPreEvaluationHash

The hash recorded as PreEvaluationHash.

Declaration
[Pure]
public ImmutableArray<byte> ExpectedPreEvaluationHash { get; }
Property Value
Type Description
ImmutableArray<Byte>

Methods

| Improve this Doc View Source

Equals(InvalidBlockPreEvaluationHashException)

The exception that is thrown when the a Block's PreEvaluationHash is invalid.

Declaration
public bool Equals(InvalidBlockPreEvaluationHashException other)
Parameters
Type Name Description
InvalidBlockPreEvaluationHashException other
Returns
Type Description
Boolean
| Improve this Doc View Source

Equals(Object)

The exception that is thrown when the a Block's PreEvaluationHash is invalid.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
Object obj
Returns
Type Description
Boolean
Overrides
Object.Equals(Object)
| Improve this Doc View Source

GetHashCode()

The exception that is thrown when the a Block's PreEvaluationHash is invalid.

Declaration
public override int GetHashCode()
Returns
Type Description
Int32
Overrides
Object.GetHashCode()
| Improve this Doc View Source

GetObjectData(SerializationInfo, StreamingContext)

The exception that is thrown when the a Block's PreEvaluationHash is invalid.

Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
SerializationInfo info
StreamingContext context
Overrides
Exception.GetObjectData(SerializationInfo, StreamingContext)

Operators

| Improve this Doc View Source

Equality(InvalidBlockPreEvaluationHashException, InvalidBlockPreEvaluationHashException)

The exception that is thrown when the a Block's PreEvaluationHash is invalid.

Declaration
public static bool operator ==(InvalidBlockPreEvaluationHashException left, InvalidBlockPreEvaluationHashException right)
Parameters
Type Name Description
InvalidBlockPreEvaluationHashException left
InvalidBlockPreEvaluationHashException right
Returns
Type Description
Boolean
| Improve this Doc View Source

Inequality(InvalidBlockPreEvaluationHashException, InvalidBlockPreEvaluationHashException)

The exception that is thrown when the a Block's PreEvaluationHash is invalid.

Declaration
public static bool operator !=(InvalidBlockPreEvaluationHashException left, InvalidBlockPreEvaluationHashException right)
Parameters
Type Name Description
InvalidBlockPreEvaluationHashException left
InvalidBlockPreEvaluationHashException right
Returns
Type Description
Boolean

Implements

System.Runtime.Serialization.ISerializable
System.IEquatable<T>
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2023 Planetarium