fix comment about dust logic

Conflicts:
	src/core.h
This commit is contained in:
Cozz Lovan
2013-06-11 05:01:52 +02:00
committed by Wladimir J. van der Laan
parent c9c67b00df
commit 901ae4bffd

View File

@@ -359,10 +359,10 @@ bool CTxOut::IsDust() const
// which has units satoshis-per-kilobyte.
// If you'd pay more than 1/3 in fees
// to spend something, then we consider it dust.
// A typical txout is 33 bytes big, and will
// A typical txout is 34 bytes big, and will
// need a CTxIn of at least 148 bytes to spend,
// so dust is a txout less than 54 uBTC
// (5430 satoshis) with default nMinRelayTxFee
// (5460 satoshis) with default nMinRelayTxFee
return ((nValue*1000)/(3*((int)GetSerializeSize(SER_DISK,0)+148)) < CTransaction::nMinRelayTxFee);
}