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(TxId, Int64, Int64, String)
Initializes a new instance of the InvalidTxNonceException class.
Declaration
public InvalidTxNonceException(TxId txid, long expectedNonce, long improperNonce, string message)
Parameters
Type | Name | Description |
---|---|---|
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. |
String | message | The message that describes the error. |
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 |