mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-15 04:30:42 +02:00
doc: add note about confusing HaveTxsDownloaded name
This commit is contained in:
parent
7ee46a755f
commit
99839bbfa7
@ -276,6 +276,12 @@ public:
|
|||||||
*
|
*
|
||||||
* Does not imply the transactions are consensus-valid (ConnectTip might fail)
|
* 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)
|
* 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; }
|
bool HaveTxsDownloaded() const { return nChainTx != 0; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user