mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-08 10:31:50 -05:00
doc: add note about confusing HaveTxsDownloaded name
This commit is contained in:
parent
7ee46a755f
commit
99839bbfa7
1 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue