比特币白皮书解读(交易)

2. Transactions

We define an electronic coin as a chain of digital signatures. Each owner transfers the coin to the next by digitally signing a hash of the previous transaction and the public key of the next owner and adding these to the end of the coin. A payee can verify the signatures to verify the chain of ownership.

The problem of course is the payee can't verify that one of the owners did not double-spend the coin. A common solution is to introduce a trusted central authority, or mint, that checks every transaction for double spending. After each transaction, the coin must be returned to the mint to issue a new coin, and only coins issued directly from the mint are trusted not to be double-spent. The problem with this solution is that the fate of the entire money system depends on the company running the mint, with every transaction having to go through them, just like a bank.

We need a way for the payee to know that the previous owners did not sign any earlier transactions. For our purposes, the earliest transaction is the one that counts, so we don't care about later attempts to double-spend. The only way to confirm the absence of a transaction is to be aware of all transactions. In the mint based model, the mint was aware of all transactions and decided which arrived first. To accomplish this without a trusted party, transactions must be publicly announced [1], and we need a system for participants to agree on a single history of the order in which they were received. The payee needs proof that at the time of each transaction, the majority of nodes agreed it was the first received.

第一段第一句(第一句)

We define an electronic coin as a chain of digital signatures.

我们把一种电子现金定义为一连串的数字签名。

第一段第二句(第二句)

Each owner transfers the coin to the next by digitally signing a hash of the previous transaction and the public key of the next owner and adding these to the end of the coin.

每一位所有者通过对前一次交易和下一位拥有者的公钥签署一个随机散列的数字签名,并将这个签名附加在这枚电子货币的末尾,电子货币就发送给了下一位所有者。

第一段第三句(第三句)

A payee can verify the signatures to verify the chain of ownership.

收款人通过对签名进行检验,就能够验证该链条的所有者。

第一段小结

We define an electronic coin as a chain of digital signatures.

把电子货币定义为“一串数字签名”

Hash (哈希算法)

Payee:收款人

Owner:付款人(它是货币在转账前的拥有者)

第二段第一句(第四句)

The problem of course is the payee can't verify that one of the owners did not double-spend the coin.

这个过程的问题是收款人是否进行过双重支付没法验证

第二段第二句(第五句)

 A common solution is to introduce a trusted central authority, or mint, that checks every transaction for double spending.

传统的做法是引入第三方或者每一笔交易都进行检查

第二段第三句(第六句)

After each transaction, the coin must be returned to the mint to issue a new coin, and only coins issued directly from the mint are trusted not to be double-spent. 

每一笔交易之后,这个现金都要送回铸币厂发行新的币,只有从铸币厂新发行的币不能双重支付

第二段第四句(第七句)

The problem with this solution is that the fate of the entire money system depends on the company running the mint, with every transaction having to go through them, just like a bank.

这个解决方案的问题是这个货币体系的命运完全依赖于铸币厂了。因为每一笔交易都要经过该造币厂的确认,而该造币厂就好比是一家银行。

第三段第一句(第八句)

We need a way for the payee to know that the previous owners did not sign any earlier transactions.

我们需要收款人有某种方法,能够确保之前的所有者没有对更早发生的交易实施签名。

第三段第二句(第九句)

 For our purposes, the earliest transaction is the one that counts, so we don't care about later attempts to double-spend.

对于我们来讲,我们只在乎最早的交易是真正作数的,而不关心转出后是否双重支付。

第三段第三句(第十句)

The only way to confirm the absence of a transaction is to be aware of all transactions.

确认某一个交易是否发生过只要知道所有的交易。

第三段第四句(第十一句)

 In the mint based model, the mint was aware of all transactions and decided which arrived first. 

在铸币厂模型中,铸币厂知道所有的交易,并且知道哪一个是第一个到的。

第三段第五句(第十二句)

To accomplish this without a trusted party, transactions must be publicly announced [1], and we need a system for participants to agree on a single history of the order in which they were received.

没有第三方要达到信任就得公开发布。我们需要整个系统内的所有参与者,都有唯一公认

的历史交易序列。

第三段第六句(第十三句)

The payee needs proof that at the time of each transaction, the majority of nodes agreed it was the first received.

收款人需要确保在交易期间绝大多数的节点都认同该交易是首次出现。

第十二句与第十三句:

要解决双重支付,我们需要一个公开的账本;同时这个账本需要一个系统,可保证每个参与者接受到的账本是一致的。

第三段小结:

用一个人人参与的网络代替银行的职能。

©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 219,869评论 6 508
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 93,716评论 3 396
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 166,223评论 0 357
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 59,047评论 1 295
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 68,089评论 6 395
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 51,839评论 1 308
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 40,516评论 3 420
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 39,410评论 0 276
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 45,920评论 1 319
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 38,052评论 3 340
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 40,179评论 1 352
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 35,868评论 5 346
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 41,522评论 3 331
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 32,070评论 0 22
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 33,186评论 1 272
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 48,487评论 3 375
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 45,162评论 2 356

推荐阅读更多精彩内容