[#btck-ChainstateManagerOptions-SetDatabaseCacheBytes]
= xref:btck.adoc[btck]::xref:btck/ChainstateManagerOptions.adoc[ChainstateManagerOptions]::SetDatabaseCacheBytes
:relfileprefix: ../../
:mrdocs:

Sets the database cache size&period;

== Synopsis

Declared in `&lt;kernel&sol;bitcoinkernel&lowbar;wrapper&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
SetDatabaseCacheBytes(uint64&lowbar;t database&lowbar;cache&lowbar;bytes);
----

== Return Value

True on success&period;

== Parameters

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


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