[#node-BlockManager-CalculateCurrentUsage] = xref:node.adoc[node]::xref:node/BlockManager.adoc[BlockManager]::CalculateCurrentUsage :relfileprefix: ../../ :mrdocs: Calculate the amount of disk space the block & undo files currently use == Synopsis Declared in `<node/blockstorage.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7ff37af16eb8), requires_capability(0x7ff376b83e98), requires_capability(0x7ff37ded1a88), requires_capability(0x7ff36c616ca8), requires_capability(0x7ff37c49ab08), requires_capability(0x7ff39283d508)]] uint64_t CalculateCurrentUsage(); ---- == Return Value The total size in bytes of the block and undo files on disk. [.small]#Created with https://www.mrdocs.com[MrDocs]#