In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains "what is the technical concept and workflow of blockchain". Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Next, let the editor take you to learn "what is the technical concept and workflow of blockchain"?
What is the technical concept of blockchain?
Through the concept of blockchain, we know that blockchain is essentially a method of accounting, of course, it is not through people to keep accounts, but through a kind of software, I will call it blockchain client. They run on different devices and work independently of each other. Usually we call the running client a "node". All nodes are in an interworking network, in which as soon as any transaction occurs, the message will be broadcast to each node immediately. In the structure of block chain software, the function of communicating with each other is called "network routing".
In this network, each node maintains its own ledger, which records every account in the network. What kind of accounts are they? It depends on what kind of functional network it is. Blockchain technology is a technical method, which can be used to achieve different business functions, such as small to daily bookkeeping, large to a variety of complex business contracts and so on. Then the bookkeeping in the network needs to be consistent, and the method used is that everyone obeys a rule and selects the accounting node through the rule. Then this rule becomes the "consensus algorithm".
In some systems, it takes into account the work done by the node selected by the rule. after all, it is very hard for this node to get the right to keep accounts through the "proof of work". As a result, an incentive mechanism is designed, and the node responsible for packaging data and broadcasting can be rewarded by the system. Then everyone will actively strive for that kind of reward. Some blockchain systems will design a competitive mechanism for each node to grab, and whoever can seize this opportunity will get the right to package data and receive this reward. In this case, we will vividly call this competitive process "mining".
So, then, we will run the clients one by one to become nodes, so how exactly do we mark different users? Is it also registered through the user? In fact, in the block chain system, it is realized through a cryptographic algorithm, specifically through a mechanism called public key algorithm. We know that for a cryptographic algorithm, no matter what the algorithm process is, there will be a secret key, while the public key algorithm has a pair of keys, which are used together and can be used to encrypt and decrypt each other. One of them is called the public key, and the other is called the private key. The public key can be made public to others, and the private key should be kept by yourself. In the block chain, the public key is used to identify the user.
So how do the two keys work together? Data encrypted with the public key must be decrypted with the corresponding private key, while data encrypted with the private key (often referred to as "signature") must be decrypted with the corresponding tapping. For example, Zhang San wants to send Li Si a check, so how do you send it to him? If you send it directly, the data in the check must be known by other nodes throughout the network, which must not be allowed for security reasons. So Zhang San encrypted the check with Li Si's public key, and then signed his own name (signed with his own private key), so that it would be useless even if other people got the check, because only Li Si had his own private key to unlock the check. This functional design is called a "scripting system" in the blockchain system.
In short, the technical concept of blockchain is that everyone participates in bookkeeping, constantly selects billing balers through a rule (consensus algorithm), other nodes are verified, and each user has a pair of secret keys to express themselves. through the function of the script system to send valuable data in the public network.
What is the workflow of the blockchain?
There are many kinds of applications of blockchain. The first software to apply blockchain technology is Bitcoin. So far, there have been many derivative systems of opportunity blockchain technology, such as Lightning Network, Kongzhengtong, ethernet, super ledger project and so on. But no matter what type of application is set up, their working mode or workflow is similar, and in essence they are the product of the same technical structure. Let's talk about the workflow of the blockchain.
Let's first take a look at the process of a transfer transaction. The essence of a transfer transaction is to send a piece of data, which can be expressed as an asset, an order or other forms of data. the whole process of sending the data is relatively simple. after the data is sent, it will be packaged into a block. then broadcast it to all nodes for confirmation, and then write it to the local block chain ledger after confirming that there is no problem, when most nodes in the network confirm that it is written. After confirming that there is no problem, it is written to the respective local block ledger, and the transfer transaction is completed when most of the nodes in the network confirm the write.
This workflow is representative, and various other systems are derived and expanded on this basis. For example, some will add identity authentication functions to ensure that only users who meet the identity verification can send data. Some expand the expression ability of transaction data, which can be used not only to express general transaction transfers, but also to express more complex business logic. There are many applications, but there are always changes.
At this point, I believe you have a deeper understanding of "what is the technical concept and workflow of blockchain". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.