aboutsummaryrefslogtreecommitdiff
path: root/src/coins.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2019-04-26 13:09:25 -0400
committerMarcoFalke <falke.marco@gmail.com>2019-04-26 13:09:30 -0400
commitd76b72a454a1b89888f9bf787415323e011ce4dc (patch)
treeb76102cf25a00173d68d3d8309345df4b8872db2 /src/coins.h
parentb1e013e4fa21923d8b49aa6fccbbaf77721c7d90 (diff)
parent5d262052728acdaa2d108a35ba9921a23b3d761a (diff)
Merge #15267: doc: explain AcceptToMemoryPoolWorker's coins_to_uncache
5d26205272 doc: explain AcceptToMemoryPoolWorker's coins_to_uncache (James O'Beirne) Pull request description: I found ATMPW's `coins_to_uncache` a little hard to understand (see #15264). This adds some doc for posterity. ACKs for commit 5d2620: jnewbery: ACK 5d262052728acdaa2d108a35ba9921a23b3d761a Tree-SHA512: 088508fa78012fab8680663c4e30f5cee29768416c2ca8b8b2abc29b6ac7067c5a589674f0254474a7ccc95477889d41719760f5796792bf492f51b3dd499c6c
Diffstat (limited to 'src/coins.h')
-rw-r--r--src/coins.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/coins.h b/src/coins.h
index d39ebf9062..482e233e8c 100644
--- a/src/coins.h
+++ b/src/coins.h
@@ -294,6 +294,10 @@ public:
bool HaveInputs(const CTransaction& tx) const;
private:
+ /**
+ * @note this is marked const, but may actually append to `cacheCoins`, increasing
+ * memory usage.
+ */
CCoinsMap::iterator FetchCoin(const COutPoint &outpoint) const;
};