aboutsummaryrefslogtreecommitdiff
path: root/src/coins.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/coins.h')
-rw-r--r--src/coins.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/coins.h b/src/coins.h
index d174422100..5beea711b2 100644
--- a/src/coins.h
+++ b/src/coins.h
@@ -437,6 +437,12 @@ public:
*/
bool Flush();
+ /**
+ * Removes the transaction with the given hash from the cache, if it is
+ * not modified.
+ */
+ void Uncache(const uint256 &txid);
+
//! Calculate the size of the cache (in number of transactions)
unsigned int GetCacheSize() const;