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

Name

Description

txout

Output whose dust threshold is computed.

dustRelayFee

Fee rate used to define dust.

Created with MrDocs