From 1404c574037da331c233317618b9b90d3329ed33 Mon Sep 17 00:00:00 2001 From: Sjors Provoost Date: Thu, 30 Jan 2020 19:28:54 +0100 Subject: [doc] Coin: explain that IsSpent() can also mean never existed --- src/coins.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/coins.h b/src/coins.h index a3f34bb0ee..fadb1058cd 100644 --- a/src/coins.h +++ b/src/coins.h @@ -73,6 +73,9 @@ public: ::Unserialize(s, Using(out)); } + /** Either this coin never existed (see e.g. coinEmpty in coins.cpp), or it + * did exist and has been spent. + */ bool IsSpent() const { return out.IsNull(); } -- cgit v1.2.3