Bitcointalk

Always pay transaction fee?

中本聪 · 2010 年 9 月 8 日

SN-2714 已核对来源,附原文与上下文。

阅读语言

目前,付不付手续费由 -paytxfee 开关手动控制。让软件自动检查最近区块的大小、判断是否该付手续费,相当容易。我们离触及门槛还远得很,暂时不需要。而且先看看手动控制的效果如何,本来就是个好主意。

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.

我粗略统计了 74000-78000 附近的 4000 个区块。这不包括区块奖励交易:

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

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

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

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

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

现在的门槛是每区块 200KB,约合每区块 1000 笔交易。我认为应该降到每区块 50KB。那仍然是平均每区块交易量的 100 多倍。

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.

来源
Bitcointalk 原始链接 ↗ 记录编号 SN-2714

阅读字号

选择适合你的字号,之后阅读会继续使用。