MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / LoadingBlocks

Method LoadingBlocks

src/node/blockstorage.h:413–413  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

411 static constexpr auto PRUNE_TARGET_MANUAL{std::numeric_limits<uint64_t>::max()};
412
413 [[nodiscard]] bool LoadingBlocks() const { return m_importing || !m_blockfiles_indexed; }
414
415 /** Calculate the amount of disk space the block & undo files currently use */
416 uint64_t CalculateCurrentUsage() EXCLUSIVE_LOCKS_REQUIRED(::cs_main);

Callers 7

FetchBlockMethod · 0.80
ProcessMessageMethod · 0.80
SendMessagesMethod · 0.80
UpdateIBDStatusMethod · 0.80
isLoadingBlocksMethod · 0.80
isReadyToBroadcastMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected