IsDust

Test whether an output is dust at the given relay fee rate.

Synopsis

Declared in <policy/policy.h>

bool
IsDust(
    CTxOut const& txout,
    CFeeRate const& dustRelayFee);

Return Value

true if the output is below the dust threshold.

Parameters

NameDescription
txoutOutput to test.
dustRelayFeeFee rate used to define dust.