bitcoin/bitcoin — pull request #2885 by gavinandresen (2013-08-08 03:12:12+00:00)
Title: Reject dust amounts during validation

Replaces the validation check for "amount == 0" with an isDust check,
so very small output amounts are caught before the wallet
is unlocked, a transaction is created, etc.