[doc] Coin: explain that IsSpent() can also mean never existed

pull/826/head
Sjors Provoost 5 years ago
parent bc933aeaf0
commit 1404c57403
No known key found for this signature in database
GPG Key ID: 57FF9BDBCC301009

@ -73,6 +73,9 @@ public:
::Unserialize(s, Using<TxOutCompression>(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();
}

Loading…
Cancel
Save