Class InvalidGenesisBlockException
The exception that is thrown when the genesis block the
Namespace: Libplanet.Types.Blocks
Assembly: Libplanet.Types.dll
Syntax
public class InvalidGenesisBlockException : InvalidBlockException
Constructors
| Improve this Doc View SourceInvalidGenesisBlockException(String, BlockHash, BlockHash)
Initializes a new instance of the InvalidGenesisBlockException class.
Declaration
public InvalidGenesisBlockException(string message, BlockHash networkExpected, BlockHash stored)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
BlockHash | networkExpected | The genesis block that the network expects. |
BlockHash | stored | The genesis block that a local |
Properties
| Improve this Doc View SourceNetworkExpected
The genesis block that the network expects.
Declaration
public BlockHash NetworkExpected { get; }
Property Value
Type | Description |
---|---|
BlockHash |
Stored
The genesis block that a local
Declaration
public BlockHash Stored { get; }
Property Value
Type | Description |
---|---|
BlockHash |