|
rippled
|

Public Member Functions | |
| TransactionMaster (Application &app) | |
| TransactionMaster (TransactionMaster const &)=delete | |
| TransactionMaster & | operator= (TransactionMaster const &)=delete |
| std::shared_ptr< Transaction > | fetch_from_cache (uint256 const &) |
| std::variant< std::pair< std::shared_ptr< Transaction >, std::shared_ptr< TxMeta > >, TxSearched > | fetch (uint256 const &, error_code_i &ec) |
| std::variant< std::pair< std::shared_ptr< Transaction >, std::shared_ptr< TxMeta > >, TxSearched > | fetch (uint256 const &, ClosedInterval< uint32_t > const &range, error_code_i &ec) |
| Fetch transaction from the cache or database. More... | |
| 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) |
| void | canonicalize (std::shared_ptr< Transaction > *pTransaction) |
| void | sweep (void) |
| TaggedCache< uint256, Transaction > & | getCache () |
Private Attributes | |
| Application & | mApp |
| TaggedCache< uint256, Transaction > | mCache |
Definition at line 36 of file TransactionMaster.h.
| ripple::TransactionMaster::TransactionMaster | ( | Application & | app | ) |
Definition at line 28 of file TransactionMaster.cpp.
|
delete |
|
delete |
| std::shared_ptr< Transaction > ripple::TransactionMaster::fetch_from_cache | ( | uint256 const & | txnID | ) |
Definition at line 52 of file TransactionMaster.cpp.
| std::variant< std::pair< std::shared_ptr< Transaction >, std::shared_ptr< TxMeta > >, TxSearched > ripple::TransactionMaster::fetch | ( | uint256 const & | txnID, |
| error_code_i & | ec | ||
| ) |
Definition at line 60 of file TransactionMaster.cpp.
| std::variant< std::pair< std::shared_ptr< Transaction >, std::shared_ptr< TxMeta > >, TxSearched > ripple::TransactionMaster::fetch | ( | uint256 const & | txnID, |
| ClosedInterval< uint32_t > const & | range, | ||
| error_code_i & | ec | ||
| ) |
Fetch transaction from the cache or database.
Definition at line 84 of file TransactionMaster.cpp.
| std::shared_ptr< STTx const > ripple::TransactionMaster::fetch | ( | boost::intrusive_ptr< SHAMapItem > const & | item, |
| SHAMapNodeType | type, | ||
| std::uint32_t | uCommitLedger | ||
| ) |
Definition at line 109 of file TransactionMaster.cpp.
| bool ripple::TransactionMaster::inLedger | ( | uint256 const & | hash, |
| std::uint32_t | ledger | ||
| ) |
Definition at line 40 of file TransactionMaster.cpp.
| void ripple::TransactionMaster::canonicalize | ( | std::shared_ptr< Transaction > * | pTransaction | ) |
Definition at line 143 of file TransactionMaster.cpp.
| void ripple::TransactionMaster::sweep | ( | void | ) |
Definition at line 156 of file TransactionMaster.cpp.
| TaggedCache< uint256, Transaction > & ripple::TransactionMaster::getCache | ( | ) |
Definition at line 162 of file TransactionMaster.cpp.
|
private |
Definition at line 89 of file TransactionMaster.h.
|
private |
Definition at line 90 of file TransactionMaster.h.
1.8.17