wallet::GetAvoidReuseFlag

Resolves the effective avoid-reuse flag from a request parameter.

Synopsis

Declared in <wallet/rpc/util.h>

bool
GetAvoidReuseFlag(
    CWallet const& wallet,
    UniValue const& param);

Return Value

true if avoid-reuse behavior should be applied.

Parameters

NameDescription
walletThe wallet the request applies to.
paramThe RPC parameter that may override the wallet default.