Class InvalidTxNonceException
The exception that is thrown when the Nonce is different from GetNextTxNonce(Address) result of the Signer.
Inherited Members
Namespace: Libplanet.Tx
Assembly: Libplanet.dll
Syntax
public sealed class InvalidTxNonceException : InvalidTxException
Constructors
| Improve this Doc View SourceInvalidTxNonceException(String, TxId, Int64, Int64)
Initializes a new instance of the InvalidTxNonceException class.
Declaration
public InvalidTxNonceException(string message, TxId txid, long expectedNonce, long improperNonce)
Parameters
Type | Name | Description |
---|---|---|
String | message | The message that describes the error. |
TxId | txid | The invalid Transaction<T>'s
Id. It is automatically included to
the |
Int64 | expectedNonce | GetNextTxNonce(Address) result of the Signer. |
Int64 | improperNonce | The actual Nonce. |
Properties
| Improve this Doc View SourceExpectedNonce
GetNextTxNonce(Address) result of the Signer.
Declaration
public long ExpectedNonce { get; }
Property Value
Type | Description |
---|---|
Int64 |
ImproperNonce
The actual Nonce, which is improper.
Declaration
public long ImproperNonce { get; }
Property Value
Type | Description |
---|---|
Int64 |