|
CatapultServer
v0.5.0.1 (Elephant)
|


Public Member Functions | |
| virtual model::DetachedTransactionInfo | add (const Hash256 &parentHash, const Key &signer, const Signature &signature)=0 |
| Adds a cosignature (composed of signer and signature) for a partial transaction with hash parentHash to the cache. More... | |
| virtual std::vector< model::DetachedTransactionInfo > | prune (Timestamp timestamp)=0 |
| Removes all partial transactions that have deadlines at or before the given timestamp. More... | |
| virtual std::vector< model::DetachedTransactionInfo > | prune (const predicate< const Hash256 & > &hashPredicate)=0 |
Removes all partial transactions for which hashPredicate returns true. More... | |
Public Member Functions inherited from catapult::cache::BasicTransactionsCacheModifier< model::DetachedTransactionInfo > | |
| virtual | ~BasicTransactionsCacheModifier () noexcept(false) |
| virtual size_t | size () const=0 |
| Returns the number of transactions in the cache. More... | |
| virtual bool | add (const model::DetachedTransactionInfo &transactionInfo)=0 |
| virtual model::DetachedTransactionInfo | remove (const Hash256 &hash)=0 |
| Removes the transaction identified by hash from the cache. More... | |
An interface for modifying a partial transactions cache.
|
pure virtual |
Adds a cosignature (composed of signer and signature) for a partial transaction with hash parentHash to the cache.

|
pure virtual |
Removes all partial transactions for which hashPredicate returns true.
|
pure virtual |
Removes all partial transactions that have deadlines at or before the given timestamp.
