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?

1 Answer 1

1

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

Define dust transaction outputs, and make them non-standard

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.