收集交易有什么激励?

中本聪SN-0695
其他参与者原话theymos原帖 ↗

向你正在计算的区块添加交易会拖慢你的生成速度

Adding transactions to the block you're working on will slow down your generation rate

中本聪回应

这个前提是错的。向正在计算的区块添加更多交易不会拖慢你的生成速度。生成时扫描哈希,只对区块头做哈希,区块头是固定大小。区块头包含交易的哈希(Merkle 根),只是偶尔更新。

The premise is false. Adding more transactions to the block you're working on does NOT slow down your generation rate. When generate is scanning hashes, it only hashes the header of the block, which is constant size. The header contains a hash of the transactions (the Merkle root) and is only updated occasionally.

必要的话我可以写代码,让节点倾向不使用"未收录足够多已知交易"的区块。一个不受欢迎的区块几乎总是进不了主链,但真进了也会被接受。不过,我想应该不需要这样做,因为节点不收录全部交易并没有什么实际好处。

If necessary I can write code to make nodes prefer not to use a block if it doesn't contain enough of the transactions they know about. A discouraged block would almost always fail to be included in the main chain, but would be accepted if it did get in. I doubt this will be necessary, since there's no real advantage for nodes not to include all transactions.

上下文
译文校对、修订与纠错

当前版本尚未建立逐条校对状态记录。来源核验、历史审校与当前译文校对是不同事项。

  • 历史修订:否定方向反转,并将 enough 扩大为“大部分”。 改为“我想应该不需要这样做”及“足够多”。

以上是历史报告记录,不代表此后修改的当前版本已经重新校对。

查看历史审校与代表修订 →

译文内容版本:9968b6306fd2。用于比对文本,不代表校对等级或更新时间。

准备纠错说明

请填写对应原文、现译文、建议译法和理由。复制后通过你联系本站作者的渠道提交;此处不会自动发送。

来源
英文原标题

What is the incentive to collect transactions?

Bitcointalk · 原始链接 ↗ 记录编号 SN-0695

阅读字号

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