Skip to Content
精通区块链
book

精通区块链

by Lorne Lantz, Daniel Cawrey
March 2022
Intermediate to advanced
293 pages
5h 31m
Chinese
China Electric Power Press Ltd.
Content preview from 精通区块链
76 | 第 3 章
幸运的是,在发生比特币现金分叉时,比特币现金矿工所使用的新软件包含
了对两条链上重放攻击的预防。具体来说,比特币现金软件在其网络上发送
的交易的数据结构中添加了一个新字段
SIGHASH_FORKID
。有效的比特币
现金交易中必须存在该字段。交易数据是生成交易签名时所用加密算法的输
入之一。由于两条链的交易数据结构不同,所以即使相同的交易数据在比特
币核心链和比特现金链上的签名也不一样,一条链上有效的签名在另外一条
链就是无效的了。
现在你已经对分叉有一点了解,接下来让我们更详细地看看比特币现金分叉。
3.3
比特币现金分叉
长期以来,加密货币社区认为比特币区块链有分裂的可能是一件坏事,在社
区分裂的情况下比特币的存活会存在不确定性。但是在
2015
年一场关于比特
币的未来及其作为货币能力的争论导致了开发者之间的分歧。一方希望按中
本聪最初的比特币白皮书中所述的将比特币用作点对点的电子现金。另一方
则希望限制在比特币中进行大量交易的能力。最终导致了比特币链的分裂和
新的比特币链诞生。这就是
BIP
的用武之地。
尽管实施了隔离见证(
SegWit
)和闪电网络(
Lightning
)这样的解决方案,
但比特币社区中依然有人对网络的扩容方式,特别是对区块大小感到不满。
比特币的区块大小是
1MB
,区块大小会限制每个区块中可以容纳的交易数量。
虽然提出了各种解决方案,但某些团队依然坚持最简单的解决方式是增加单
个区块的大小。
这组人相信比特币最初的“点对点电子现金”概念,希望更快速且廉价的交易,
而大区块可促进其发生 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

人工智能技术与大数据

人工智能技术与大数据

Posts & Telecom Press, Anand Deshpande, Manish Kumar
Python数据分析(第2版)

Python数据分析(第2版)

Posts & Telecom Press, Armando Fandango
编写整洁的Python代码(第2版)

编写整洁的Python代码(第2版)

Posts & Telecom Press, Mariano Anaya
机器学习流水线实战

机器学习流水线实战

Hannes Hapke, Catherine Nelson

Publisher Resources

ISBN: 9787519863166