[#wallet-CachableAmount] = xref:wallet.adoc[wallet]::CachableAmount :relfileprefix: ../ :mrdocs: Cachable amount subdivided into avoid reuse and all balances == Synopsis Declared in `<wallet/transaction.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct CachableAmount; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:wallet/CachableAmount/Get.adoc[`Get`] | Return the cached balance from the avoid‐reuse or all slot. | xref:wallet/CachableAmount/IsCached.adoc[`IsCached`] | Return whether the requested balance slot is cached. | xref:wallet/CachableAmount/Reset.adoc[`Reset`] | Clear both cached balances. | xref:wallet/CachableAmount/Set.adoc[`Set`] | Store a cached balance in the avoid‐reuse or all slot. |=== == Data Members [cols="1,4"] |=== | Name| Description | xref:wallet/CachableAmount/m_all_value.adoc[`m_all_value`] | Cached balance computed over all outputs. | xref:wallet/CachableAmount/m_avoid_reuse_value.adoc[`m_avoid_reuse_value`] | Cached balance computed with avoid‐reuse enabled. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#