[#kernel-CacheSizes]
= xref:kernel.adoc[kernel]::CacheSizes
:relfileprefix: ../
:mrdocs:

Byte budgets for the validation caches, derived from a single total&period;

== Synopsis

Declared in `&lt;kernel&sol;caches&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct CacheSizes;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:kernel/CacheSizes/2constructor.adoc[`CacheSizes`]         [.small]#[constructor]#
| Split a total cache budget across the block tree, coins database, and coins caches&period;
|===


== Data Members

[cols="1,4"]
|===
| Name| Description
| xref:kernel/CacheSizes/block_tree_db.adoc[`block&lowbar;tree&lowbar;db`] 
| Bytes reserved for the block tree database cache&period;
| xref:kernel/CacheSizes/coins.adoc[`coins`] 
| Bytes reserved for the in&hyphen;memory coins cache&period;
| xref:kernel/CacheSizes/coins_db.adoc[`coins&lowbar;db`] 
| Bytes reserved for the coins (UTXO) database cache&period;
|===



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