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 精通区块链
区块链技术的起源 | 19
略微修改一下之后:
keccak256("hello1") =
57c65f1718e8297f4048beff2419e134656b7a856872b27ad77846e395f13ffe
在保存大量信息时,使用哈希值来存储信息也是关键。在这个例子中可以看到,
不同的输入在哈希后会输出一个唯一的固定长度的字符串。这样可以通过哈
希值检索数据,使得引用一些存储的数据更容易。
1.4.4
在区块链中存储数据
在铸币厂模式中,政府或中央机构依据标准会计实践跟踪交易。比特币白皮
书引入了使用签名链或哈希链跟踪交易的概念。这个链按块的时间顺序来排
列。
该方案实质上是创建了一个不需要任何单一实体跟踪的账号单位。作为替代,
由块组成的链即区块链,使用密码学数学信任来跟踪数字系统中的交易。该
网络不需要复杂的结构,因为它使用点对点系统来验证和发布这些区块链。
基本上,它需要一个用于存储的分布式数据结构和一个可在互联网上构成公
共网络的消息系统协议。在接下来的第
2
章中将会讲到,区块链是由多个交
易区块组成的,这些区块之间通过哈希进行链接。虽然许多区块链可以在互
联网上自由使用,但有些区块链是非公开的,特别是一些在商业环境中使用
的区块链,第
9
章将会详细说明。
比特币需要克服这样一个挑战:互不相识、互不信任的多方如何合作?比特
币的解决办法是在这个全球账本上只有多方都同意的交易才被认定为有效且
应该被处理。比特币区块链是比特币网络中所有参与方都同意的有效且和准
确的全球账本。
产生分歧可能意味着链上的分叉和新的根,这一主题将会在第 ...
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
机器学习流水线实战

机器学习流水线实战

Hannes Hapke, Catherine Nelson
Python和NLTK实现自然语言处理

Python和NLTK实现自然语言处理

Posts & Telecom Press, Nitin Hardeniya
Python机器学习案例精解

Python机器学习案例精解

Posts & Telecom Press, Yuxi (Hayden) Liu

Publisher Resources

ISBN: 9787519863166