Class InvalidGenesisBlockException
The exception that is thrown when the genesis block the
Implements
Inherited Members
Namespace: Libplanet.Types.Blocks
Assembly: Libplanet.Types.dll
Syntax
public class InvalidGenesisBlockException : InvalidBlockException, ISerializable
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 |
---|---|---|
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
[Pure]
public BlockHash NetworkExpected { get; }
Property Value
Type | Description |
---|---|
BlockHash |
Stored
The genesis block that a local
Declaration
[Pure]
public BlockHash Stored { get; }
Property Value
Type | Description |
---|---|
BlockHash |