Class InvalidBlockSignatureException
An exception thrown when a block's signature is invalid.
Namespace: Libplanet.Blocks
Assembly: Libplanet.dll
Syntax
public class InvalidBlockSignatureException : InvalidBlockException
Constructors
| Improve this Doc View SourceInvalidBlockSignatureException(SerializationInfo, StreamingContext)
Declaration
protected InvalidBlockSignatureException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |
InvalidBlockSignatureException(String, PublicKey, Nullable<ImmutableArray<Byte>>)
Creates a new InvalidBlockPublicKeyException instance.
Declaration
public InvalidBlockSignatureException(string message, PublicKey publicKey, ImmutableArray<byte>? invalidSignature)
Parameters
Type | Name | Description |
---|---|---|
String | message | A message that describes the error. |
PublicKey | publicKey | The public key used for signing the block. |
Nullable<ImmutableArray<Byte>> | invalidSignature | The block signature which is invalid. |
Properties
| Improve this Doc View SourceInvalidSignature
The block signature which is invalid.
Declaration
public ImmutableArray<byte>? InvalidSignature { get; }
Property Value
Type | Description |
---|---|
Nullable<ImmutableArray<Byte>> |
PublicKey
The public key used for signing the block.
Declaration
public PublicKey PublicKey { 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 |