作者:黄马褂
时间:2018年9月28日
来源:https://zhuanlan.zhihu.com/p/45362775

By convention, the first transaction in a block is a special transaction that starts a new coin owned by the creator of the block.
按惯例来讲,一个区块里面第一笔交易信息是一个特别的交易,它开始了一个新的币,这个币属于这个区块的创造者。
也就是说,我们来做个约定,每一个区块里面的第一笔交易,是系统奖励给这个区块创造者的币,是跟其他交易信息有差别的,是特殊处理的。其他交易信息是比如我转给你多少币,或者我收到多少币,而每个区块的第一笔交易,是系统转给区块创造者多少币,作为他创造这个区块的奖励。
This adds an incentive for nodes to support the network, and provides a way to initially distribute coins into circulation, since there is no central authority to issue them.
这就表示对节点支持这个网络的奖励,也提供了一个初始分配货币进入流通的方法,因为没有一个权威中心来发行货币。
也就是说,我们之间转来转去的用于交易的电子货币,最初从哪来的呢?它不是凭空产生的,而是最初由系统发出来,奖励给节点的。
The steady addition of a constant of amount of new coins is analogous to gold miners expending resources to add gold to circulation.
这种将一定量的新货币持续的稳定添加进来的过程,类似开采黄金的矿工消耗资源去把黄金开采出来,放到市场上流通。
这也是“矿工”一词的来源了。
In our case, it is CPU time and electricity that is expended.
在我们的案例中,CPU的运行时间和消耗的电力,就是开采比特币需要耗费的资源了。
The incentive can also be funded with transaction fees.
另外一种激励,就是交易手续费了。
If the output value of a transaction is less than its input value, the difference is a transaction fee that is added to the incentive value of the block containing the transaction.
如果一笔交易输出的值小于输入的值,那么差额就是交易费,该费用添加到包含该交易的区块的激励价值上。
Once a predetermined number of coins have entered circulation, the incentive can transition entirely to transaction fees and be completely inflation free.
一旦预先设定量的货币进入流通,那么激励就可以完全变成交易费,然后不会通货膨胀。
为什么这么说,因为交易费可以足够激励矿工,而不仅仅依靠持续注入货币。如果不断超发货币,是有通胀风险的。而不超发货币,又要持续激励矿工,那么交易费就能解决了。
The incentive may help encourage nodes to stay honest.
激励可以鼓励节点保持诚实。
If a greedy attacker is able to assemble more CPU power than all the honest nodes, he would have to choose between using it to defraud people by stealing back his payments, or using it to generate new coins.
如果一个贪婪的攻击者能够调集比所有诚实矿工加起来更多的CPU算力,他将面临选择,第一种选择,用这些算力来作弊,来修改区块信息,从而偷回他支付的货币,第二种选择,用这些算力来生成新的货币。
He ought to find it more profitable to play by the rules, such rules that favour him with more new coins than everyone else combined, than to undermine the system and the validity of his own wealth.
他应该发现遵守规则更有利可图,这些规则有利于他拥有比其他人加起来更多的新硬币,而不是破坏系统和他自己财富的有效性。
搞坏事的利益还没有做好事的利益大,那干什么坏事。所以这里面包含了博弈论的一些元素。博弈嘛,说白了就是选择,作出对自己最有利的选择。
本系列全部文章: