mirror of
https://github.com/dashpay/dash.git
synced 2024-12-30 22:35:51 +01:00
fix comment about dust logic
This commit is contained in:
parent
d1020b780a
commit
346427f01b
@ -192,10 +192,10 @@ public:
|
|||||||
// which has units satoshis-per-kilobyte.
|
// which has units satoshis-per-kilobyte.
|
||||||
// If you'd pay more than 1/3 in fees
|
// If you'd pay more than 1/3 in fees
|
||||||
// to spend something, then we consider it dust.
|
// 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,
|
// need a CTxIn of at least 148 bytes to spend,
|
||||||
// so dust is a txout less than 54 uBTC
|
// 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)) < nMinRelayTxFee);
|
return ((nValue*1000)/(3*((int)GetSerializeSize(SER_DISK,0)+148)) < nMinRelayTxFee);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user