区块链技术讲义.pptx

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
1 区块链技术 2 Bitcoin Consensus What data does each node store at its local storage? What does they do? fully validating nodes Complete blockchain The chain of the blockheads The transactions o the blockchain The list of UTXO (Unspent Transaction Output) To proceeds the transactions quickly Transaction Pool The node will select transactions from transaction pool and mine. lightweight nodes(Thin Clients or Simplified Payment Verification (SPV) Clients): The complete chain of the block heads They only store the pieces that they need to verify specific transactions that they care about Does not mine 3 How does each node make sure that his local block chain is consistent with that of the major nodes in the system? Distributed Consensus Distributed Consensus Protocol There are n nodes that each have an input value. Some of these nodes are faulty or malicious. A distributed consensus protocol has the following two properties: It must terminate with all honest nodes in agreement on the value The value must have been generated by an honest node Bitcoin Consensus 4 The target of Bitcoin consensus: At any moment, all nodes in the Bitcoin Network agrees on a series of blocks, and the transactions in these blocks. Question: A new block candidate is found and broadcast, some nodes receive and accept this new block, while others did not. What is the state? If there are multiple such blocks, what is the state? It must happens, since it is a p2p network Bitcoin Consensus 5 0 1 100 …… 101 Tx1 Tx2 102 Tx3 Tx4 Tx21,Tx22,Tx23 0 1 100 …… 101 Tx1 Tx2 102 Tx3 Tx4 Tx31,Tx32,Tx33 0 1 100 …… 101 Tx5 Tx6 102 Tx7 Tx8 Tx51,Tx52,Tx53 Bitcoin Consensus 6 Bitcoin Consensus Who proposes the new block (the content of the blockchain)? The miners compete by computing hash, and broadcast the valid candidate to the Bitcoin Network Who decides whether the new block is accepted by whole bitcoin network? No discussion and negotiation, since the nodes does not trust each other Implicit consensus:each node make

文档评论(0)

benzei244572 + 关注
实名认证
内容提供者

建筑工程师持证人

没啥好说的额

领域认证该用户于2024年10月16日上传了建筑工程师

1亿VIP精品文档

相关文档