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

Method GetPruneTarget

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

Attempt to stay below this number of bytes of block files. */

Source from the content-addressed store, hash-verified

408
409 /** Attempt to stay below this number of bytes of block files. */
410 [[nodiscard]] uint64_t GetPruneTarget() const { return m_opts.prune_target; }
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; }

Callers 3

AppInitMainFunction · 0.80
getblockchaininfoFunction · 0.80
LoadChainstateFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected