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

Dynamically alter the underlying leveldb cache size&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f9512c69438, 0x7f9512c694e8), requires&lowbar;capability(0x7f951f174ef8, 0x7f951f174fa8), requires&lowbar;capability(0x7f94f8be9438, 0x7f94f8be94e8), requires&lowbar;capability(0x7f9513c5caf8, 0x7f9513c5cba8), requires&lowbar;capability(0x7f952330d3a8, 0x7f952330d458), requires&lowbar;capability(0x7f9510504538, 0x7f95105045e8)&rsqb;&rsqb;
void
ResizeCache(size&lowbar;t new&lowbar;cache&lowbar;size);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *new&lowbar;cache&lowbar;size*
| The new cache size in bytes&period;
|===


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