CatapultServer
v0.5.0.1 (Elephant)
|
An interface for modifying an unconfirmed transactions cache. More...
Public Member Functions | |
virtual size_t | count (const Key &key) const =0 |
Gets the number of transactions an account with public key has placed into the cache. More... | |
virtual std::vector< model::TransactionInfo > | removeAll ()=0 |
Removes all transactions from the cache. More... | |
Public Member Functions inherited from catapult::cache::BasicTransactionsCacheModifier< model::TransactionInfo > | |
virtual | ~BasicTransactionsCacheModifier () noexcept(false) |
virtual size_t | size () const=0 |
Returns the number of transactions in the cache. More... | |
virtual bool | add (const model::TransactionInfo &transactionInfo)=0 |
virtual model::TransactionInfo | remove (const Hash256 &hash)=0 |
Removes the transaction identified by hash from the cache. More... | |
An interface for modifying an unconfirmed transactions cache.
|
pure virtual |
Gets the number of transactions an account with public key has placed into the cache.
|
pure virtual |
Removes all transactions from the cache.