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 精通区块链
34 2
2
-
1
:比特币交易字段含义(续)
字节 描述
输入列表 输入数据的列表
出数 输入的数量输出的数量见证 如果使用隔离见证
那么这个字段显示的是见证列
时间锁 4 个字节
如果这个字段不是空的
该字段确定了由网络决定的该交易可被添加
到区块链的最早时间
这个字段可以表示为区块高度或 UNIX 时间戳
2.3
交易
在加密货币中,交易代表了价值从一个地址到另一个地址的移动。交易被发
布到区块链上被称为交易已确认。转移资金需要用私钥签署交易。然后,接
收方使用相应的公钥验证签名并验证交易。在大多数加密货币中,用户还必
须向网络支付少量费用才能使交易顺利进行。这笔费用通常归发掘该交易所
在的区块的矿工所有,是为了激励发布区块的矿工继续保障网络的安全。有
一些在线工具(比如像特币费用估算器和计算器)可以帮助你预测你应该在
交易中包含多少的费用,以便在所需的时间范围内将其记录在区块链上(见
2-3
)。
2
-
3
:估算将交易纳入区块链的费用
比特币交易费用会因网络容量、需要确认的速度和其他因素而变化。因为一
个区块上可以容纳的交易的数量是有限制的
(
目前的限制是
1MB
的数据,或
者每个区块大约有
3500
个交易
),
更紧急的情况下可能需要更高的费用。本质
上这是矿工之间的相互竞争
,
更高的费用意味着更快确认。图
2-4
说明了比特
币交易过程中发生的一系列事件。
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和NLTK实现自然语言处理

Python和NLTK实现自然语言处理

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

Python机器学习案例精解

Posts & Telecom Press, Yuxi (Hayden) Liu
编写整洁的Python代码(第2版)

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

Posts & Telecom Press, Mariano Anaya

Publisher Resources

ISBN: 9787519863166