xrpld
Loading...
Searching...
No Matches
xrpl::LocalTx Class Reference
Collaboration diagram for xrpl::LocalTx:

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

Private Attributes

std::shared_ptr< STTx const > txn_
LedgerIndex expire_
uint256 id_
AccountID account_
SeqProxy seqProxy_

Detailed Description

Definition at line 46 of file LocalTxs.cpp.

Constructor & Destructor Documentation

◆ LocalTx()

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

Definition at line 49 of file LocalTxs.cpp.

Member Function Documentation

◆ getID()

uint256 const & xrpl::LocalTx::getID ( ) const
nodiscard

Definition at line 61 of file LocalTxs.cpp.

◆ getSeqProxy()

SeqProxy xrpl::LocalTx::getSeqProxy ( ) const
nodiscard

Definition at line 67 of file LocalTxs.cpp.

◆ isExpired()

bool xrpl::LocalTx::isExpired ( LedgerIndex i) const
nodiscard

Definition at line 73 of file LocalTxs.cpp.

◆ getTX()

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

Definition at line 79 of file LocalTxs.cpp.

◆ getAccount()

AccountID const & xrpl::LocalTx::getAccount ( ) const
nodiscard

Definition at line 85 of file LocalTxs.cpp.

Member Data Documentation

◆ txn_

std::shared_ptr<STTx const> xrpl::LocalTx::txn_
private

Definition at line 91 of file LocalTxs.cpp.

◆ expire_

LedgerIndex xrpl::LocalTx::expire_
private

Definition at line 92 of file LocalTxs.cpp.

◆ id_

uint256 xrpl::LocalTx::id_
private

Definition at line 93 of file LocalTxs.cpp.

◆ account_

AccountID xrpl::LocalTx::account_
private

Definition at line 94 of file LocalTxs.cpp.

◆ seqProxy_

SeqProxy xrpl::LocalTx::seqProxy_
private

Definition at line 95 of file LocalTxs.cpp.