• Design
  • API Reference
  • Changelog
  • Contribute
Show / Hide Table of Contents
  • Libplanet
    • Address
    • AddressExtension
    • ByteUtil
    • Hashcash
    • Hashcash.Stamp
    • HashDigest<T>
    • HashDigestExtension
    • Nonce
  • Libplanet.Action
    • AccountStateGetter
    • ActionEvaluation<T>
    • ActionTypeAttribute
    • AddressStateMap
    • IAccountStateDelta
    • IAction
    • IActionContext
    • IRandom
    • MissingActionTypeException
    • PolymorphicAction<T>
  • Libplanet.Blockchain
    • BlockChain<T>
  • Libplanet.Blockchain.Policies
    • BlockPolicy<T>
    • BlockPolicyExtension
    • IBlockPolicy<T>
  • Libplanet.Blocks
    • Block<T>
    • InvalidBlockDifficultyException
    • InvalidBlockException
    • InvalidBlockHashException
    • InvalidBlockIndexException
    • InvalidBlockNonceException
    • InvalidBlockPreviousHashException
    • InvalidBlockTimestampException
  • Libplanet.Crypto
    • InvalidCiphertextException
    • PrivateKey
    • PublicKey
    • SymmetricKey
  • Libplanet.Net
    • BlockDownloadState
    • DifferentAppProtocolVersionException
    • DifferentProtocolVersionEventArgs
    • IceServer
    • IceServerException
    • InvalidMessageException
    • NoSwarmContextException
    • Peer
    • PeerNotFoundException
    • PeerSetDelta
    • Swarm
    • SwarmException
  • Libplanet.Serialization
    • BencodexFormatter<T>
    • SerializationInfoExtension
  • Libplanet.Store
    • BaseIndex<TKey, TVal>
    • BaseStore
    • BlockSet<T>
    • FileStore
    • IStore
    • NamespaceNotFoundException
    • TransactionSet<T>
  • Libplanet.Tx
    • InvalidTxException
    • InvalidTxIdException
    • InvalidTxNonceException
    • InvalidTxPublicKeyException
    • InvalidTxSignatureException
    • InvalidTxUpdatedAddressesException
    • Transaction<T>
    • TxId
    • UnexpectedlyTerminatedTxRehearsalException

Class InvalidTxNonceException

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

Inheritance
Object
Exception
InvalidTxException
InvalidTxNonceException
Implements
ISerializable
Inherited Members
InvalidTxException.TxId
Exception.GetBaseException()
Exception.GetObjectData(SerializationInfo, StreamingContext)
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Namespace: Libplanet.Tx
Assembly: Libplanet.dll
Syntax
[Serializable]
public sealed class InvalidTxNonceException : InvalidTxException, ISerializable

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 Message string.

Int64 expectedNonce

GetNonce(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

GetNonce(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

Implements

System.Runtime.Serialization.ISerializable
  • Improve this Doc
  • View Source
Back to top Copyright © 2019 Planetarium
Generated by DocFX