About a change in 0.8.6 - free transactions with less than 0.01 outputs

3

// This code can be removed after enough miners have upgraded to version 0.9.
// Until then, be safe when sending and require a fee if any output
// is less than CENT:
if (nMinFee < nBaseFee && mode == GMF_SEND)
{
    BOOST_FOREACH(const CTxOut& txout, tx.vout)
        if (txout.nValue < CENT)
            nMinFee = nBaseFee;
}

The above if clause was as below:

if (nMinFee < nBaseFee)

Gavin explains this change as:

Remove the rule that all outputs of free transactions must be greater than 0.01 XBT. Dust spam is now taken care of by making dusty outputs non-standard.

I don't see any other code change in the same commit. How is dust spam taken care of? Was it made non-standard in a previous version?

Emre Kenci

Posted 2013-12-11T12:24:30.487

Reputation: 3 008

Answers

1

Initially, "dust" transactions were made nonstandard in commit 8de9bb53:

Define dust transaction outputs, and make them non-standard

aland

Posted 2013-12-11T12:24:30.487

Reputation: 1 338