Show / Hide Table of Contents

Class InvalidTxNonceException

The exception that is thrown when the Nonce is different from GetNextTxNonce(Address) result of the Signer.

Inheritance
Object
InvalidTxException
InvalidTxNonceException
Inherited Members
InvalidTxException.TxId
Namespace: Libplanet.Tx
Assembly: Libplanet.dll
Syntax
public sealed class InvalidTxNonceException : InvalidTxException

Constructors

| Improve this Doc View Source

InvalidTxNonceException(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 string.

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 Source

ExpectedNonce

GetNextTxNonce(Address) result of the Signer.

Declaration
public long ExpectedNonce { get; }
Property Value
Type Description
Int64
| Improve this Doc View Source

ImproperNonce

The actual Nonce, which is improper.

Declaration
public long ImproperNonce { get; }
Property Value
Type Description
Int64
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2021 Planetarium