区块链很火,那么区块链技术的工作原理是怎样的呢?虽然网上有很多介绍区块链的“名词解释”,但是都过于古板和难懂,今天小编就来跟大家详细讲解一下区块链技术的工作原理。
is hot, so is working on technology chain .
互联网上的贸易,几乎都是需要借助第三方信用机构来处理电子支付信息,这类系统仍然内生性地受制于“基于信用的模式”,而区块链技术的核心是所有当前参与的节点共同维护交易及数据库,它使交易基于密码学原理而不基于信任,使得任何达成一致的双方,能够直接进行支付交易,不需第三方的参与。
Virtually all trade on the Internet requires the use of third-party credit institutions to process electronic payment information. Such systems remain inherently subject to a “credit-based model”, while technology focuses on the co-maintainment of transactions and databases by all currently involved nodes, which allows transactions to be conducted on the basis of cryptographic principles rather than trust, enabling any parties to agree to make payment transactions directly without the involvement of third parties.
由于这些技术设计决定,在此共享记录簿中对项目进行欺骗是不可能的。如果在计算机上拥有一本或多本记录本的人试图不诚实地更改它,那么这些更改将被验证过程中使用的许多计算机拒绝。但是如果没有银行,储存的资金在哪里?这是一个更难以掌握的部分。当我们谈论像比特币这样的数字货币时,没有硬币存储库,然而记录簿中的每一行项目就是金钱。
Because of these technical design decisions, it is not possible to defraud the project here in the shared logbook. If a person with one or more transcripts on a computer tries to change it dishonestly, the changes will be rejected by many computers used in the validation process. But, without a bank, where are the funds stored? This is a much more difficult part. When we talk about digital currencies like Bitcoin, there is no coin repository, but every line of the book is money.
这些概念不是大家想的那样复杂。这一切都是由人创造的,他们并不比你或我更聪明,当你分解它时,这一切都很简单。也就是说,这份共享记录簿的现代版本确实是一种技术上的胜利,正在寻求以深远的方式塑造我们的未来。
These concepts are not as complex as you think. They're all created by people, and they're not smarter than you or me, and they're simple when you break it down. That is, the modern version of this shared logbook is indeed a technical victory that seeks to shape our future in a far-reaching way.
从技术上来讲,区块链是一个几乎不可能更改的分布式数据库,这里的分布式不仅体现为数据的分布式储存,也体现为数据的分布式记录。区块是一种记录交易的数据结构,反映了一笔交易的资金流向。系统中已经达成的交易的区块连接在一起形成了一条主链,所有参与计算的节点都记录了主链或主链的一部分。一个区块包含以下三部分:交易信息、前一个区块形成的哈希散列、随机数。交易信息是区块所承载的任务数据,具体包括交易双方的私钥、交易的数量、电子货币的数字签名等;前一个区块形成的哈希散列用来将区块连接起来,实现过往交易的顺序排列;随机数是交易达成的核心,所有矿工节点竞争计算随机数的答案,最快得到答案的节点生成一个新的区块,并广播到所有节点进行更新,如此完成一笔交易。
要清楚的是,这不仅仅是一个存储在许多人共享的中心位置的记录簿。这本记录簿有数千份,存储在世界各地的计算机上,包括家庭计算机和商业服务器,因此称为“分散式”。
What is clear is that this is not just a record book stored in a central location shared by many. It has thousands of copies stored on computers around the world, including home computers and commercial servers, and is therefore called “dispersed”.
区块链是比较开放,共识,区块链交易透明、双方匿名,不可篡改。可追溯任何人都可以参与到区块链网络,每一台设备都能作为一个节点,每个节点都允许获得份完整的数据库拷贝。节点间基于一套共识机制,通过竞争计算共同维护整个区块链。任一节点失效,其余节点仍能正常工作。同时也是去中心,去信任,区块链由众多节点共同组成一个端到端的网络,不存在中心化的设备和管理机构。节点之间数据交换通过数字签名技术进行验证,无需互相信任,只要按照系统既定的规则进行,节点之间不能也无法契骗其它节点。
我们可以举个例子来说明,当小明想向小明汇款时,会创建一个新的订单项详细说明该交易。然后,此订单项会被发送至拥有该记录副本的数百台其他计算机。这些计算机确认此次交易是经过授权的,并且最终他们同意(或不同意)该交易的所有内容都是合法的,然后再给予该项目批准。就好像小明和小红有几百个伴侣站在他们周围一样,看着小明递给小红这笔钱,并且他们都同意他真的把钱交给了她。
We can give an example of how a new order will be created when Ming wants to transfer money to Ming. Then, the order will be sent to hundreds of other computers with copies of the record. These computers confirm that the transaction is authorized, and eventually they agree (or disagree) that all elements of the transaction are legal and then give approval to the project. It is as if Ming and Red had hundreds of partners standing around them, watching Ming hand over the money, and they all agree that he actually gave it to her.
那么交易公开透明这对银行来说有什么不同?这份共同记录簿的天才之处在于它不需要银行,也不需要中央集权的公司,而且您不需要信任任何金融机构......不需要任何中间商,它是去中心化的。详细说来,这份共享记录本并不属于任何一个个人或组织。它由拥有记录本的每个人拥有。但这并不意味着任何拥有记录本的人都可以控制(稍后会有更多内容哦)。另外,这本记录本就是我们所说的“不可变的”,或者是通俗的说,它是不可逆转的。只要互联网存在,每一行就会永久存在。如果小红想要退还小明的钱,这将是一个新的项目,将钱返还,而不是交易的原来交易。
So what difference does transparency of transactions make for banks? The genius of this common record book is that it does not need a bank or a centralized company, and that you do not need to trust any financial institution... no middlemen, it is decentralized. In detail, this shared record book does not belong to any individual or organization. It is owned by everyone who owns the record book. It does not mean that any person who owns it can control it (there will be more content later). Moreover, this record is what we call “unchangeable” or, in general terms, irreversible. As long as the Internet exists, every line will remain permanent. If Red wants to return Ming's money, it will be a new project, the money will be returned, not the original transaction of the transaction.
听小编讲了这么多,大概知道区块链技术的原理是什么了吧?区块链技术目前还只是萌芽期,还没到它正式发挥作用的时候,但是小编相信在不久的将来,区块链技术会融入到我们的生活当中。
What is the rationale of the block chain technology? ? /a's technology is only budding and not yet officially operational, but the editor believes that in the near future will be integrated into our life chain.
注册有任何问题请添加 微信:MVIP619 拉你进入群
打开微信扫一扫
添加客服
进入交流群
发表评论