xrpld
Loading...
Searching...
No Matches
xrpl::RCLCxTx Class Reference

Represents a transaction in RCLConsensus. More...

#include <RCLCxTx.h>

Public Types

using ID = uint256
 Unique identifier/hash of transaction.

Public Member Functions

 RCLCxTx (boost::intrusive_ptr< SHAMapItem const > txn)
 Constructor.
ID const & id () const
 The unique identifier/hash of the transaction.

Public Attributes

boost::intrusive_ptr< SHAMapItem const > tx
 The SHAMapItem that represents the transaction.

Detailed Description

Represents a transaction in RCLConsensus.

RCLCxTx is a thin wrapper over the SHAMapItem that corresponds to the transaction.

Definition at line 12 of file RCLCxTx.h.

Member Typedef Documentation

◆ ID

Unique identifier/hash of transaction.

Definition at line 16 of file RCLCxTx.h.

Constructor & Destructor Documentation

◆ RCLCxTx()

xrpl::RCLCxTx::RCLCxTx ( boost::intrusive_ptr< SHAMapItem const > txn)

Constructor.

Parameters
txnThe transaction to wrap

Definition at line 22 of file RCLCxTx.h.

Member Function Documentation

◆ id()

ID const & xrpl::RCLCxTx::id ( ) const
nodiscard

The unique identifier/hash of the transaction.

Definition at line 28 of file RCLCxTx.h.

Member Data Documentation

◆ tx

boost::intrusive_ptr<SHAMapItem const> xrpl::RCLCxTx::tx

The SHAMapItem that represents the transaction.

Definition at line 34 of file RCLCxTx.h.