rippled
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
ripple::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 32 of file RCLCxTx.h.

Member Typedef Documentation

◆ ID

Unique identifier/hash of transaction.

Definition at line 36 of file RCLCxTx.h.

Constructor & Destructor Documentation

◆ RCLCxTx()

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

Constructor.

Parameters
txnThe transaction to wrap

Definition at line 42 of file RCLCxTx.h.

Member Function Documentation

◆ id()

ID const & ripple::RCLCxTx::id ( ) const

The unique identifier/hash of the transaction.

Definition at line 48 of file RCLCxTx.h.

Member Data Documentation

◆ tx_

boost::intrusive_ptr<SHAMapItem const> ripple::RCLCxTx::tx_

The SHAMapItem that represents the transaction.

Definition at line 54 of file RCLCxTx.h.