From 5d262052728acdaa2d108a35ba9921a23b3d761a Mon Sep 17 00:00:00 2001 From: James O'Beirne Date: Fri, 25 Jan 2019 16:33:21 -0500 Subject: doc: explain AcceptToMemoryPoolWorker's coins_to_uncache --- src/coins.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/coins.h') diff --git a/src/coins.h b/src/coins.h index 94493453f0..975fbb1945 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; }; -- cgit v1.2.3