[#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(0x7f95130c9698), requires_capability(0x7f950163c988), requires_capability(0x7f95241d9978), requires_capability(0x7f951f330c78), requires_capability(0x7f950b9c2c38), requires_capability(0x7f95175c5388)]] 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]#