Class InvalidTxGenesisHashException
The exception that is thrown when the Genesis
Inherited Members
Namespace: Libplanet.Tx
Assembly: Libplanet.dll
Syntax
public sealed class InvalidTxGenesisHashException : InvalidTxException
Constructors
| Improve this Doc View SourceInvalidTxGenesisHashException(TxId, HashDigest<SHA256>, Nullable<HashDigest<SHA256>>, String)
Initializes a new instance of the
Invalid
Declaration
public InvalidTxGenesisHashException(TxId txid, HashDigest<SHA256> expectedGenesisHash, HashDigest<SHA256>? improperGenesisHash, string message)
Parameters
Type | Name | Description |
---|---|---|
Tx |
txid | The invalid Transaction<T>'s
Id. It is automatically included to
the |
Hash |
expectedGenesisHash | The HashDigest<T> value of Genesis. |
Nullable<Hash |
improperGenesisHash | The actual
Genesis |
String | message | The message that describes the error. |
Properties
| Improve this Doc View SourceExpectedGenesisHash
The HashDigest<T> value of Genesis.
Declaration
public HashDigest<SHA256> ExpectedGenesisHash { get; }
Property Value
Type | Description |
---|---|
Hash |
ImproperGenesisHash
The actual Genesis
Declaration
public HashDigest<SHA256>? ImproperGenesisHash { get; }
Property Value
Type | Description |
---|---|
Nullable<Hash |