Cachable amount subdivided into avoid reuse and all balances

Synopsis

Declared in <wallet/transaction.h>

struct CachableAmount;

Member Functions

Name

Description

Get

Return the cached balance from the avoid‐reuse or all slot.

IsCached

Return whether the requested balance slot is cached.

Reset

Clear both cached balances.

Set

Store a cached balance in the avoid‐reuse or all slot.

Data Members

Name

Description

m_all_value

Cached balance computed over all outputs.

m_avoid_reuse_value

Cached balance computed with avoid‐reuse enabled.

Created with MrDocs