Class InvalidBlockTxHashException
Inheritance
InvalidBlockTxHashException
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetType()
System.Exception.Data
System.Exception.HResult
System.Exception.TargetSite
Assembly: Libplanet.Types.dll
Syntax
[Serializable]
public class InvalidBlockTxHashException : InvalidBlockException, ISerializable, IEquatable<InvalidBlockTxHashException>
Constructors
|
Improve this Doc
View Source
InvalidBlockTxHashException(SerializationInfo, StreamingContext)
Declaration
protected InvalidBlockTxHashException(SerializationInfo info, StreamingContext context)
Parameters
| Type |
Name |
Description |
| System.Runtime.Serialization.SerializationInfo |
info |
|
| StreamingContext |
context |
|
|
Improve this Doc
View Source
InvalidBlockTxHashException(String, Nullable<HashDigest<SHA256>>, Nullable<HashDigest<SHA256>>)
Declaration
public InvalidBlockTxHashException(string message, HashDigest<SHA256>? blockTxHash, HashDigest<SHA256>? calculatedTxHash)
Parameters
| Type |
Name |
Description |
| System.String |
message |
The message that describes the error.
|
| System.Nullable<HashDigest<SHA256>> |
blockTxHash |
The hash digest of TxHash.
|
| System.Nullable<HashDigest<SHA256>> |
calculatedTxHash |
The calculated hash digest from
Transactions.
|
Properties
|
Improve this Doc
View Source
BlockTxHash
The hash digest from actual block.
Declaration
public HashDigest<SHA256>? BlockTxHash { get; }
Property Value
|
Improve this Doc
View Source
CalculatedTxHash
The calculated hash digest from transactions in the block.
Declaration
public HashDigest<SHA256>? CalculatedTxHash { get; }
Property Value
Methods
|
Improve this Doc
View Source
Equals(InvalidBlockTxHashException)
Declaration
public bool Equals(InvalidBlockTxHashException other)
Parameters
Returns
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
| Type |
Name |
Description |
| Object |
obj |
|
Returns
Overrides
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
| Type |
Description |
| System.Int32 |
|
Overrides
System.Object.GetHashCode()
|
Improve this Doc
View Source
GetObjectData(SerializationInfo, StreamingContext)
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
| Type |
Name |
Description |
| System.Runtime.Serialization.SerializationInfo |
info |
|
| StreamingContext |
context |
|
Overrides
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
Operators
|
Improve this Doc
View Source
Equality(InvalidBlockTxHashException, InvalidBlockTxHashException)
Declaration
public static bool operator ==(InvalidBlockTxHashException left, InvalidBlockTxHashException right)
Parameters
Returns
|
Improve this Doc
View Source
Inequality(InvalidBlockTxHashException, InvalidBlockTxHashException)
Declaration
public static bool operator !=(InvalidBlockTxHashException left, InvalidBlockTxHashException right)
Parameters
Returns
Implements