原始文献 / 论坛帖 / Re: Always pay transaction fee?

Re: Always pay transaction fee?

Bitcointalk · 2010-09-08 17:30:14 UTC

AuthorSatoshi Nakamoto
TitleRe: Always pay transaction fee?
Date2010-09-08 17:30:14 UTC
ForumBitcointalk · 原文

目前,付不付手续费由 -paytxfee 开关手动控制。让软件自动检查最近区块的大小、看要不要付手续费,其实很容易。我们离阈值还远得很,暂时不需要。反正先手动控制、看看情况也是好主意。

就算达到阈值也不是大事。免费交易只是进块慢一点。

我粗略统计了 74000-78000 附近的 4000 个区块,不含区块奖励交易:

平均每个区块 2 笔交易,每小时 17 笔,每天 400 笔。

平均每个区块交易字节数 428 字节,即每笔交易 214 字节。

当前阈值是每区块 200KB,约每区块 1000 笔交易。我觉得应该降到每区块 50KB。那仍是平均每区块交易量的 100 多倍。

阈值以后很容易改。到时候我们可以决定提高。把它保持低一点当断路器、按需提高是好主意。如果现在就触及阈值,那几乎肯定是某种泛洪而不是真实使用。阈值低一点有助于在那种情况下限制浪费的磁盘空间。

英文原文

Currently, paying a fee is controlled manually with the -paytxfee switch.  It would be very easy to make the software automatically check the size of recent blocks to see if it should pay a fee.  We're so far from reaching the threshold, we don't need that yet.  It's a good idea to see how things go with controlling it manually first anyway.

It's not a big deal if we reach the threshold.  Free transactions would just take longer to get into a block.

I did a rough tally of 4000 blocks from around 74000-78000.  This is excluding the block reward transactions:

There were average 2 transactions per block, 17 transactions per hour, 400 transactions per day.

Average transaction bytes per block was 428 bytes, or 214 bytes per transaction.

The current threshold is 200KB per block, or about 1000 transactions per block.  I think it should be lowered to 50KB per block.  That would still be more than 100 times the average transactions per block.

The threshold can easily be changed in the future.  We can decide to increase it when the time comes.  It's a good idea to keep it lower as a circuit breaker and increase it as needed.  If we hit the threshold now, it would almost certainly be some kind of flood and not actual use.  Keeping the threshold lower would help limit the amount of wasted disk space in that event.