GetDustThreshold

Compute the minimum output value below which an output is considered dust.

Synopsis

Declared in <policy/policy.h>

CAmount
GetDustThreshold(
    CTxOut const& txout,
    CFeeRate const& dustRelayFee);

Return Value

Dust threshold in satoshis for the output.

Parameters

NameDescription
txoutOutput whose dust threshold is computed.
dustRelayFeeFee rate used to define dust.