Class InvalidBlockPublicKeyException
An exception thrown when a block's public key is invalid.
Namespace: Libplanet.Blocks
Assembly: Libplanet.dll
Syntax
public class InvalidBlockPublicKeyException : InvalidBlockException
Constructors
| Improve this Doc View SourceInvalidBlockPublicKeyException(PublicKey, String)
Creates a new InvalidBlockPublicKeyException instance.
Declaration
public InvalidBlockPublicKeyException(PublicKey invalidPublicKey, string message)
Parameters
Type | Name | Description |
---|---|---|
PublicKey | invalidPublicKey | The invalid public key tried to be used in the block. |
String | message | A message that describes the error. |
InvalidBlockPublicKeyException(SerializationInfo, StreamingContext)
Declaration
protected InvalidBlockPublicKeyException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |
Properties
| Improve this Doc View SourceInvalidPublicKey
The invalid public key tried to be used in the block.
Declaration
public PublicKey InvalidPublicKey { get; }
Property Value
Type | Description |
---|---|
PublicKey |
Methods
| Improve this Doc View SourceGetObjectData(SerializationInfo, StreamingContext)
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |