aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@bitpay.com>2013-06-18 06:23:58 -0700
committerJeff Garzik <jgarzik@bitpay.com>2013-06-18 06:23:58 -0700
commit25dbb928600b2c65bc20ce026c5f9cf1fb457d60 (patch)
tree20f8c83eeb3e802944492cdf779f9d1b89bd3045 /src
parent5e6f7cc8adc00a8cf391a33440c127284be6da35 (diff)
parent346427f01bddc7d83fd5b54ecff9828180626909 (diff)
downloadbitcoin-25dbb928600b2c65bc20ce026c5f9cf1fb457d60.tar.xz
Merge pull request #2760 from cozz/cozz2
fix comment about dust logic
Diffstat (limited to 'src')
-rw-r--r--src/core.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core.h b/src/core.h
index cba3ab233f..c568fd2ef9 100644
--- a/src/core.h
+++ b/src/core.h
@@ -192,10 +192,10 @@ public:
// 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)) < nMinRelayTxFee);
}