Class InvalidTxNonceException
An exception that is thrown when the Nonce
of a Transaction included in a Block
is inconsistent with the expected nonce for the Signer
when appending to a
Inherited Members
Namespace: Libplanet.Types.Tx
Assembly: Libplanet.Types.dll
Syntax
public sealed class InvalidTxNonceException : InvalidTxException
Constructors
| Improve this Doc View SourceInvalidTxNonceException(String, TxId, Int64, Int64)
Initializes a new instance of the
Invalid
Declaration
public InvalidTxNonceException(string message, TxId txId, long expectedNonce, long improperNonce)
Parameters
Type | Name | Description |
---|---|---|
System. |
message | The message that describes the error. |
Tx |
txId | The invalid Transaction's
Id. It is automatically included to
the |
System. |
expectedNonce | The expected Nonce value for the Transaction. |
System. |
improperNonce | The actual Nonce. |
Properties
| Improve this Doc View SourceExpectedNonce
The expected Nonce value
for the Transaction with Tx
Declaration
public long ExpectedNonce { get; }
Property Value
Type | Description |
---|---|
System. |
ImproperNonce
The actual Nonce, which is improper.
Declaration
public long ImproperNonce { get; }
Property Value
Type | Description |
---|---|
System. |