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.

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.

TxExcerptExtensions

Useful extension methods for ITxExcerpt.

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.

TxMetadata

A concrete class implementing ITxMetadata. It's used to represent drafts of unsigned Transaction<T>s.

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.)

Interfaces

ITxExcerpt

Similar to ITxMetadata except that it has TxId as well. Note that this does not contain actions or signature.

ITxMetadata

A common interface for transactions that do not have any proofs nor actions.

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