doc: add note about confusing HaveTxsDownloaded name

This commit is contained in:
James O'Beirne 2023-09-11 13:41:28 -04:00
parent 7ee46a755f
commit 99839bbfa7

View file

@ -276,6 +276,12 @@ public:
*
* Does not imply the transactions are consensus-valid (ConnectTip might fail)
* Does not imply the transactions are still stored on disk. (IsBlockPruned might return true)
*
* Note that this will be true for the snapshot base block, if one is loaded (and
* all subsequent assumed-valid blocks) since its nChainTx value will have been set
* manually based on the related AssumeutxoData entry.
*
* TODO: potentially change the name of this based on the fact above.
*/
bool HaveTxsDownloaded() const { return nChainTx != 0; }