Check whether this block and all previous blocks back to the genesis block or an assumeutxo snapshot block have reached VALID_TRANSACTIONS and had transactions downloaded (and stored to disk) at some point.
Synopsis
Declared in <chain.h>
bool
HaveNumChainTxs() const;
Description
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, since its m_chain_tx_count value will have been set manually based on the related AssumeutxoData entry.
Return Value
True if the chain transaction count for this block is known, otherwise false.
Created with MrDocs