[#CCoinsViewDB-CompactFullAsync]
= xref:CCoinsViewDB.adoc[CCoinsViewDB]::CompactFullAsync
:relfileprefix: ../
:mrdocs:

Perform a full compaction of the underlying LevelDB on a one&hyphen;shot background thread&period;

== Synopsis

Declared in `&lt;txdb&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f9512c695a0, 0x7f9512c69650), requires&lowbar;capability(0x7f951f175060, 0x7f951f175110), requires&lowbar;capability(0x7f94f8be95a0, 0x7f94f8be9650), requires&lowbar;capability(0x7f9513c5cc60, 0x7f9513c5cd10), requires&lowbar;capability(0x7f952330d510, 0x7f952330d5c0), requires&lowbar;capability(0x7f95105046a0, 0x7f9510504750)&rsqb;&rsqb;
std::shared&lowbar;future&lt;void&gt;
CompactFullAsync();
----

== Return Value

A shared future that completes when the compaction finishes&period;


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