GetDust

Get the vout index numbers of all dust outputs

Synopsis

Declared in <policy/policy.h>

std::vector<uint32_t>
GetDust(
    CTransaction const& tx,
    CFeeRate dust_relay_rate);

Return Value

Indices of the outputs that are dust.

Parameters

NameDescription
txTransaction whose outputs are inspected.
dust_relay_rateFee rate used to define dust.