rippled
Public Member Functions | Static Public Attributes | Private Attributes | List of all members
ripple::LocalTx Class Reference
Collaboration diagram for ripple::LocalTx:
Collaboration graph
[legend]

Public Member Functions

 LocalTx (LedgerIndex index, std::shared_ptr< STTx const > const &txn)
 
uint256 const & getID () const
 
SeqProxy getSeqProxy () const
 
bool isExpired (LedgerIndex i) const
 
std::shared_ptr< STTx const > const & getTX () const
 
AccountID const & getAccount () const
 

Static Public Attributes

static const int holdLedgers = 5
 

Private Attributes

std::shared_ptr< STTx const > m_txn
 
LedgerIndex m_expire
 
uint256 m_id
 
AccountID m_account
 
SeqProxy m_seqProxy
 

Detailed Description

Definition at line 53 of file LocalTxs.cpp.

Constructor & Destructor Documentation

◆ LocalTx()

ripple::LocalTx::LocalTx ( LedgerIndex  index,
std::shared_ptr< STTx const > const &  txn 
)

Definition at line 61 of file LocalTxs.cpp.

Member Function Documentation

◆ getID()

uint256 const& ripple::LocalTx::getID ( ) const

Definition at line 74 of file LocalTxs.cpp.

◆ getSeqProxy()

SeqProxy ripple::LocalTx::getSeqProxy ( ) const

Definition at line 80 of file LocalTxs.cpp.

◆ isExpired()

bool ripple::LocalTx::isExpired ( LedgerIndex  i) const

Definition at line 86 of file LocalTxs.cpp.

◆ getTX()

std::shared_ptr<STTx const> const& ripple::LocalTx::getTX ( ) const

Definition at line 92 of file LocalTxs.cpp.

◆ getAccount()

AccountID const& ripple::LocalTx::getAccount ( ) const

Definition at line 98 of file LocalTxs.cpp.

Member Data Documentation

◆ holdLedgers

const int ripple::LocalTx::holdLedgers = 5
static

Definition at line 59 of file LocalTxs.cpp.

◆ m_txn

std::shared_ptr<STTx const> ripple::LocalTx::m_txn
private

Definition at line 104 of file LocalTxs.cpp.

◆ m_expire

LedgerIndex ripple::LocalTx::m_expire
private

Definition at line 105 of file LocalTxs.cpp.

◆ m_id

uint256 ripple::LocalTx::m_id
private

Definition at line 106 of file LocalTxs.cpp.

◆ m_account

AccountID ripple::LocalTx::m_account
private

Definition at line 107 of file LocalTxs.cpp.

◆ m_seqProxy

SeqProxy ripple::LocalTx::m_seqProxy
private

Definition at line 108 of file LocalTxs.cpp.