Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
wallet::CachableAmount Struct Reference

Cachable amount subdivided into avoid reuse and all balances. More...

#include <transaction.h>

Public Member Functions

void Reset ()
void Set (bool avoid_reuse, CAmount value)
CAmount Get (bool avoid_reuse)
bool IsCached (bool avoid_reuse)

Public Attributes

std::optional< CAmountm_avoid_reuse_value
std::optional< CAmountm_all_value

Detailed Description

Cachable amount subdivided into avoid reuse and all balances.

Definition at line 133 of file transaction.h.

Member Function Documentation

◆ Get()

CAmount wallet::CachableAmount::Get ( bool avoid_reuse)
inline

Definition at line 150 of file transaction.h.

Here is the caller graph for this function:

◆ IsCached()

bool wallet::CachableAmount::IsCached ( bool avoid_reuse)
inline

Definition at line 159 of file transaction.h.

◆ Reset()

void wallet::CachableAmount::Reset ( )
inline

Definition at line 137 of file transaction.h.

◆ Set()

void wallet::CachableAmount::Set ( bool avoid_reuse,
CAmount value )
inline

Definition at line 142 of file transaction.h.

Member Data Documentation

◆ m_all_value

std::optional<CAmount> wallet::CachableAmount::m_all_value

Definition at line 136 of file transaction.h.

◆ m_avoid_reuse_value

std::optional<CAmount> wallet::CachableAmount::m_avoid_reuse_value

Definition at line 135 of file transaction.h.


The documentation for this struct was generated from the following file: