rippled
Public Types | Public Member Functions | Public Attributes | List of all members
ripple::RCLCxTx Class Reference

Represents a transaction in RCLConsensus. More...

Collaboration diagram for ripple::RCLCxTx:
Collaboration graph
[legend]

Public Types

using ID = uint256
 Unique identifier/hash of transaction. More...
 

Public Member Functions

 RCLCxTx (SHAMapItem const &txn)
 Constructor. More...
 
ID const & id () const
 The unique identifier/hash of the transaction. More...
 

Public Attributes

const SHAMapItem tx_
 The SHAMapItem that represents the transaction. More...
 

Detailed Description

Represents a transaction in RCLConsensus.

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

Definition at line 35 of file RCLCxTx.h.

Member Typedef Documentation

◆ ID

Unique identifier/hash of transaction.

Definition at line 39 of file RCLCxTx.h.

Constructor & Destructor Documentation

◆ RCLCxTx()

ripple::RCLCxTx::RCLCxTx ( SHAMapItem const &  txn)

Constructor.

Parameters
txnThe transaction to wrap

Definition at line 45 of file RCLCxTx.h.

Member Function Documentation

◆ id()

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

The unique identifier/hash of the transaction.

Definition at line 51 of file RCLCxTx.h.

Member Data Documentation

◆ tx_

const SHAMapItem ripple::RCLCxTx::tx_

The SHAMapItem that represents the transaction.

Definition at line 57 of file RCLCxTx.h.