[#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(0x7f95130c9698), requires&lowbar;capability(0x7f950163c988), requires&lowbar;capability(0x7f95241d9978), requires&lowbar;capability(0x7f951f330c78), requires&lowbar;capability(0x7f950b9c2c38), requires&lowbar;capability(0x7f95175c5388)&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]#
