Show / Hide Table of Contents

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

Inheritance
Object
TxExecution
TxFailure
TxSuccess
Namespace: Libplanet.Tx
Assembly: Libplanet.dll
Syntax
public abstract class TxExecution : ISerializable

Constructors

| Improve this Doc View Source

TxExecution(SerializationInfo, StreamingContext)

Declaration
protected TxExecution(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
SerializationInfo info
StreamingContext context

Fields

| Improve this Doc View Source

Codec

Declaration
protected static readonly Codec Codec
Field Value
Type Description
Codec

Properties

| Improve this Doc View Source

BlockHash

The Hash of the Block<T> that the Transaction<T> is executed within.

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

TxId

The executed Transaction<T>'s Id.

Declaration
public TxId TxId { get; }
Property Value
Type Description
TxId

Methods

| Improve this Doc View Source

GetObjectData(SerializationInfo, StreamingContext)

Declaration
public virtual void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
SerializationInfo info
StreamingContext context

See Also

TxSuccess
TxFailure
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2021 Planetarium