Re: Flood attack 0.00000001 BC

Figures: Insti
Quote from: davidonpda on August 04, 2010, 5:03:23 PM UTC

User sends you 1.005 bc’s, you send them back 1. Is a fee charged in that scenario? Because the change coming back to you would be .005?

Yes, this was covered above.

Quote from: gavinandresen on August 04, 2010, 12:55:59 PM UTC

The rule is “if any TxOut (output) has a value of less than 0.01 bitcoins, charge a 0.01 fee”: Code:main.h: foreach(const CTxOut& txout, vout) if (txout.nValue nMinFee = CENT;

In your scenario there are two outputs, 1 is 1 BTC and the other is 0.005 BTC. 0.005 < 0.01 therefore a fee applies to the transaction.