|
xrpld
|
#include <TransactionMaster.h>

Public Member Functions | |
| TransactionMaster (Application &app) | |
| TransactionMaster (TransactionMaster const &)=delete | |
| TransactionMaster & | operator= (TransactionMaster const &)=delete |
| std::shared_ptr< Transaction > | fetchFromCache (UInt256 const &) |
| std::variant< std::pair< std::shared_ptr< Transaction >, std::shared_ptr< TxMeta > >, TxSearched > | fetch (UInt256 const &, ErrorCodeI &ec) |
| std::variant< std::pair< std::shared_ptr< Transaction >, std::shared_ptr< TxMeta > >, TxSearched > | fetch (UInt256 const &, ClosedInterval< uint32_t > const &range, ErrorCodeI &ec) |
| Fetch transaction from the cache or database. | |
| std::shared_ptr< STTx const > | fetch (boost::intrusive_ptr< SHAMapItem > const &item, SHAMapNodeType type, std::uint32_t uCommitLedger) |
| bool | inLedger (UInt256 const &hash, std::uint32_t ledger, std::optional< uint32_t > tseq, std::optional< uint32_t > netID) |
| void | canonicalize (std::shared_ptr< Transaction > *pTransaction) |
| void | sweep () |
| TaggedCache< UInt256, Transaction > & | getCache () |
Private Attributes | |
| Application & | app_ |
| TaggedCache< UInt256, Transaction > | cache_ |
Definition at line 27 of file TransactionMaster.h.
| xrpl::TransactionMaster::TransactionMaster | ( | Application & | app | ) |
Definition at line 30 of file TransactionMaster.cpp.
|
delete |
|
delete |
| std::shared_ptr< Transaction > xrpl::TransactionMaster::fetchFromCache | ( | UInt256 const & | txnID | ) |
Definition at line 58 of file TransactionMaster.cpp.
| std::variant< std::pair< std::shared_ptr< Transaction >, std::shared_ptr< TxMeta > >, TxSearched > xrpl::TransactionMaster::fetch | ( | UInt256 const & | txnID, |
| ErrorCodeI & | ec ) |
Definition at line 64 of file TransactionMaster.cpp.
| std::variant< std::pair< std::shared_ptr< Transaction >, std::shared_ptr< TxMeta > >, TxSearched > xrpl::TransactionMaster::fetch | ( | UInt256 const & | txnID, |
| ClosedInterval< uint32_t > const & | range, | ||
| ErrorCodeI & | ec ) |
Fetch transaction from the cache or database.
Definition at line 85 of file TransactionMaster.cpp.
| std::shared_ptr< STTx const > xrpl::TransactionMaster::fetch | ( | boost::intrusive_ptr< SHAMapItem > const & | item, |
| SHAMapNodeType | type, | ||
| std::uint32_t | uCommitLedger ) |
Definition at line 109 of file TransactionMaster.cpp.
| bool xrpl::TransactionMaster::inLedger | ( | UInt256 const & | hash, |
| std::uint32_t | ledger, | ||
| std::optional< uint32_t > | tseq, | ||
| std::optional< uint32_t > | netID ) |
Definition at line 42 of file TransactionMaster.cpp.
| void xrpl::TransactionMaster::canonicalize | ( | std::shared_ptr< Transaction > * | pTransaction | ) |
Definition at line 142 of file TransactionMaster.cpp.
| void xrpl::TransactionMaster::sweep | ( | ) |
Definition at line 155 of file TransactionMaster.cpp.
| TaggedCache< UInt256, Transaction > & xrpl::TransactionMaster::getCache | ( | ) |
Definition at line 161 of file TransactionMaster.cpp.
|
private |
Definition at line 77 of file TransactionMaster.h.
|
private |
Definition at line 78 of file TransactionMaster.h.