Show / Hide Table of Contents

Namespace Libplanet.Tx

Classes

InvalidTxException

Serves as the base class for exceptions thrown by Validate().

InvalidTxGenesisHashException

The exception that is thrown when the GenesisHash is different from the HashDigest<T> of Genesis.

InvalidTxIdException

The exception that is thrown when a given TxId cannot be found.

InvalidTxNonceException

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

InvalidTxPublicKeyException

The exception that is thrown when a Transaction<T>'s Signer is not derived from its PublicKey.

InvalidTxSignatureException

The exception that is thrown when a Transaction<T>'s Signature is invalid.

Transaction<T>

Consists of IAction and is signed to be included in a Block<T> and transmitted over the network.

TxExecution

Summarizes an execution result of a Transaction<T>.

Note that Transaction<T>s cannot be executed without belonging to a Block<T>, and even if it's the same Transaction<T> its result can vary depending on Block<T> that it is executed within.

TxFailure

Summarizes an execution result of a Transaction<T> with any exception-throwing actions.

TxPolicyViolationException

An exception returned when a Transaction<T> violates a IBlockPolicy<T>.

TxSuccess

Summarizes an execution result of a successful Transaction<T>.

Structs

TxId

TxId, abbreviation of transaction identifier, is a SHA-256 digest derived from a Transaction<T>'s content.

As it is a SHA-256 digest, it consists of 32 s, and 64 characters in hexadecimal. (See also Size constant.)

In This Article
Back to top Copyright © 2018–2021 Planetarium