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

Name

Description

tx

Transaction whose outputs are inspected.

dust_relay_rate

Fee rate used to define dust.

Created with MrDocs