rippled
Loading...
Searching...
No Matches
TransactionMaster.h
1#pragma once
2
3#include <xrpld/app/misc/Transaction.h>
4
5#include <xrpl/basics/RangeSet.h>
6#include <xrpl/basics/TaggedCache.h>
7#include <xrpl/protocol/ErrorCodes.h>
8#include <xrpl/shamap/SHAMapItem.h>
9#include <xrpl/shamap/SHAMapTreeNode.h>
10
11namespace xrpl {
12
13class Application;
14class STTx;
15
16// Tracks all transactions in memory
17
64
65} // namespace xrpl
Map/cache combination.
Definition TaggedCache.h:42
std::shared_ptr< Transaction > fetch_from_cache(uint256 const &)
TransactionMaster(TransactionMaster const &)=delete
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)
std::variant< std::pair< std::shared_ptr< Transaction >, std::shared_ptr< TxMeta > >, TxSearched > fetch(uint256 const &, error_code_i &ec)
TaggedCache< uint256, Transaction > & getCache()
TransactionMaster & operator=(TransactionMaster const &)=delete
TaggedCache< uint256, Transaction > mCache
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:5
ClosedInterval< T > range(T low, T high)
Create a closed range interval.
Definition RangeSet.h:34
boost::icl::closed_interval< T > ClosedInterval
A closed interval over the domain T.
Definition RangeSet.h:25
TxSearched
Definition TxSearched.h:5
error_code_i
Definition ErrorCodes.h:20