刘小点读比特币白皮书9-价值的组合与分割

9. Combining and Splitting Value Although it would be possible to handle coins individually, it would be unwieldy to make a separate transaction for every cent in a transfer. To allow value to be split and combined, transactions contain multiple inputs and outputs. Normally there will be either a single input from a larger previous transaction or multiple inputs combining smaller amounts, and at most two outputs: one for the payment, and one returning the change, if any, back to the sender.


刘小点读比特币白皮书9-价值的组合与分割_第1张图片

It should be noted that fan-out, where a transaction depends on several transactions, and those transactions depend on many more, is not a problem here. There is never the need to extract a complete standalone copy of a transaction's history.

9. 价值的组合与分割(Combining and Splitting Value) 虽然可以单个单个地对电子货币进行处理,但是对于每一枚电子货币单独发起一次交易将是 一种笨拙的办法。为了使得价值易于组合与分割,交易被设计为可以纳入多个输入和输出。 一般而言是某次价值较大的前次交易构成的单一输入,或者由某几个价值较小的前次交易共 同构成的并行输入,但是输出最多只有两个:一个用于支付,另一个用于找零(如图)。


刘小点读比特币白皮书9-价值的组合与分割_第2张图片

需要指出的是,当一笔交易依赖于之前的多笔交易时,这些交易又各自依赖于多笔交易,但 这并不存在任何问题。因为这个工作机制并不需要展开检验之前发生的所有交易历史。

【小点点评】:这里说明了电子货币可以不用论个来交易,也就是 比特币可以无限分割,买币 可以不按个来买,不按个来买,不按个来买......

你可能感兴趣的:(刘小点读比特币白皮书9-价值的组合与分割)