MCPcopy Create free account
hub / github.com/ElementsProject/elements / HaveTxsDownloaded

Method HaveTxsDownloaded

src/chain.h:358–358  ·  view source on GitHub ↗

* Check whether this block's and all previous blocks' transactions have been * downloaded (and stored to disk) at some point. * * 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) */

Source from the content-addressed store, hash-verified

356 * Does not imply the transactions are still stored on disk. (IsBlockPruned might return true)
357 */
358 bool HaveTxsDownloaded() const { return nChainTx != 0; }
359
360 int64_t GetBlockTime() const
361 {

Callers 11

ProcessGetBlockDataMethod · 0.80
FindMostWorkChainMethod · 0.80
PreciousBlockMethod · 0.80
InvalidateBlockMethod · 0.80
CheckBlockIndexMethod · 0.80
FUZZ_TARGETFunction · 0.80
getchaintipsFunction · 0.80
LoadBlockIndexMethod · 0.80

Calls

no outgoing calls

Tested by 1

FUZZ_TARGETFunction · 0.64