wallet::CachableAmount::Set

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

Synopsis

Declared in <wallet/transaction.h>

void
Set(
    bool avoid_reuse,
    CAmount value);

Parameters

NameDescription
avoid_reuseWhether to store the value in the avoid-reuse slot rather than the all slot.
valueThe balance to cache.