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