CatapultServer
v0.5.0.1 (Elephant)
|
void reset()
Clears all added and removed transactions.
Definition: TransactionChangeTracker.h:65
Tracks transaction changes and keeps track of net changes.
Definition: TransactionChangeTracker.h:28
const TransactionInfosSet & addedTransactionInfos() const
Gets the infos of net added transactions.
Definition: TransactionChangeTracker.h:31
TransactionInfosSet m_addedTransactionInfos
Definition: TransactionChangeTracker.h:71
void remove(const TransactionInfo &transactionInfo)
Marks transaction info (transactionInfo) as removed.
Definition: TransactionChangeTracker.h:53
A transaction and its associated metadata.
Definition: EntityInfo.h:104
std::unordered_set< TransactionInfo, EntityInfoHasher< const Transaction >, EntityInfoComparer< const Transaction > > TransactionInfosSet
Unordered set of transaction infos.
Definition: ContainerTypes.h:50
TransactionInfosSet m_removedTransactionInfos
Definition: TransactionChangeTracker.h:72
Definition: AddressExtractionExtension.cpp:28
void add(const TransactionInfo &transactionInfo)
Marks transaction info (transactionInfo) as added.
Definition: TransactionChangeTracker.h:42
const TransactionInfosSet & removedTransactionInfos() const
Gets the infos of net removed transactions.
Definition: TransactionChangeTracker.h:36
TransactionInfo copy() const
Creates a (shallow) copy of this info.
Definition: EntityInfo.h:122