[#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(0x7f2e1ac394d0, 0x7f2e1ac39580), requires&lowbar;capability(0x7f2e268d03a0, 0x7f2e268d0450), requires&lowbar;capability(0x7f2e2a796210, 0x7f2e2a7962c0), requires&lowbar;capability(0x7f2e0802c7a0, 0x7f2e0802c850), requires&lowbar;capability(0x7f2e26d09da0, 0x7f2e26d09e50), requires&lowbar;capability(0x7f2e29cbf610, 0x7f2e29cbf6c0)&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]#
