wallet::CachableAmount

Cachable amount subdivided into avoid reuse and all balances

Synopsis

Declared in <wallet/transaction.h>

struct CachableAmount;

Member Functions

NameDescription
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

NameDescription
m_all_value Cached balance computed over all outputs.
m_avoid_reuse_value Cached balance computed with avoid-reuse enabled.