[#node-BlockManager-CalculateCurrentUsage]
= xref:node.adoc[node]::xref:node/BlockManager.adoc[BlockManager]::CalculateCurrentUsage
:relfileprefix: ../../
:mrdocs:

Calculate the amount of disk space the block &amp; undo files currently use

== Synopsis

Declared in `&lt;node&sol;blockstorage&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f2e1b099648), requires&lowbar;capability(0x7f2e26d1ada8), requires&lowbar;capability(0x7f2e375e0e88), requires&lowbar;capability(0x7f2e33368248), requires&lowbar;capability(0x7f2e3542f238), requires&lowbar;capability(0x7f2e28a73d98)&rsqb;&rsqb;
uint64&lowbar;t
CalculateCurrentUsage();
----

== Return Value

The total size in bytes of the block and undo files on disk&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
