为广大币圈朋友提供币圈基础入门专业知识!
当前位置首页 > 区块链知识> 正文

区块链信息存储在客户端还是服务器里,区块链信息储存在哪里?

发布时间:2023-12-06-00:01:00 来源:网络 区块链知识 区块   客户端   服务器

区块链信息存储在客户端还是服务器里,区块链信息储存在哪里?

近年来,随着区块链技术的发展,越来越多的企业开始采用区块链技术进行信息存储。那么,区块链信息存储在客户端还是服务器里呢?

首先,我们要了解区块链的基本概念。区块链是一种分布式数据库,它通过对数据进行加密来保护数据的安全性和可信度,它可以让数据具有更强的可靠性和安全性。

其次,我们要明确区块链信息存储的位置。一般来说,区块链信息存储在客户端,也就是用户的计算机上,而不是服务器上。这是因为区块链技术的分布式特性,它将数据分布在网络中的每个节点上,而不是集中在一个地方。

这样,区块链信息存储在客户端,而不是服务器上,有以下几个优点:

1. 更高的安全性和可靠性:由于区块链采用了分布式技术,数据不会集中在一个地方,而是分布在网络中的每个节点上,这样可以更好地保护数据的安全性和可靠性。

2. 更低的成本:由于不需要服务器,因此,使用区块链技术的成本会更低。

3. 更快的速度:由于不需要服务器,因此,区块链信息的传输速度会更快。

总而言之,区块链信息存储在客户端,而不是服务器上,具有更高的安全性和可靠性,更低的成本,更快的速度等优点,是企业采用区块链技术进行信息存储的首选。


请查看相关英文文档

A. What does blockchain mean? What does blockchain mean?

Blockchain is actually equivalent to a disintermediated database, which is composed of a series of data blocks. of. Each of its data blocks contains information about a Bitcoin network transaction, which is used to verify the validity of the information and generate the next block.

Blockchain is a chain composed of blocks one after another. Each block stores a certain amount of information, and they are connected into a chain in the order in which they were generated. This chain is saved in all servers. As long as one server in the entire system can work, the entire blockchain is safe. These servers are called nodes in the blockchain system, and they provide storage space and computing power support for the entire blockchain system.

If you want to modify the information in the blockchain, you must obtain the consent of more than half of the nodes and modify the information in all nodes, and these nodes are usually controlled by different entities. Therefore, it is extremely difficult to tamper with the information in the blockchain. Compared with traditional networks, blockchain has two core characteristics: first, data is difficult to tamper with, and second, it is decentralized. Based on these two characteristics, the information recorded in the blockchain is more authentic and reliable, and can help solve the problem of people's mutual distrust.

B. What is "blockchain"

Blockchain is a public ledger. There is no centralized hardware or management organization. Everyone can It can automatically verify the authenticity of the ledger and easily detect whether the ledger has been tampered with by others.

In a word, the blockchain is a public ledger that can be verified by everyone.

The concept of being verifiable by everyone is crucial to blockchain.

Bitcoin uses the blockchain to record all transactions, so anyone knows the number of Bitcoins on each account.

So, as a publicly verifiable ledger, what are some use cases for blockchain?

In fact, there are many use cases that can be thought of. Blockchain is suitable for any data that can be recorded on a public ledger. Here are 4 examples:

1. Decentralized domain name server, namely domain currency. The domain name server is actually a ledger that records domain names.

2. Trustless public key encryption, such as https that discards unreliable certification authorities.

3. Ownership records, truthfully record the items and their corresponding owners.

4. Contracts and performance guarantees, the account book truthfully records the parties to the contract and saves the contract text.

But don’t forget that blockchain also has a very important component.

The ledger recorded using blockchain technology will always be updated. New data such as transactions, domain name entries, records and contracts will beThe hash algorithm converts it into a hash value of the same length and saves it. However, hashing algorithms are not only not free but also very expensive.

Therefore, the ledger itself needs to have a recognition system to recognize the person who enters the block hash value.

In Bitcoin, this system is called mining and is rooted in the Bitcoin protocol. Bitcoin miners use a hash algorithm to convert transactions waiting for verification into hash values, and charge a certain amount of Bitcoin as a service fee.

Therefore, for non-monetary use cases, blockchain needs to find a way to bear the high cost of hashing algorithms.

I would like to remind everyone that my answer mainly focuses on the possible use cases of blockchain technology, and does not cover all aspects of blockchain, such as why hashing algorithms are so expensive. I'm sure you can find a lot of detailed information about Bitcoin and other blockchain applications online.

Supplement

Although blockchain technology has many advantages, there are still some less than ideal use cases. For example, there is no way to convert Bitcoin into any national currency; a ledger with billions of data entries would take up space and be impractical.

Bitcoin has shown the world that blockchain technology is feasible in principle, and people are also trying to solve these increasingly prominent problems, such as technological transformation of Bitcoin or the introduction of a completely Different blockchain technologies. I think the following two methods are worth trying: one is to split the ledger according to certain standards such as the payer address, and the other is to introduce a main blockchain to verify the sub-blockchain. Blockchain technology is ever-changing and dazzling, and it’s unknown whether someone is already making such an attempt. But Bitcoin is still the world's first currency blockchain, what others call a cryptocurrency.


Whether in the technology circle or the financial circle, blockchain has become the hottest word, no one. Blockchain has core advantages such as decentralization and trustlessness, and can perfectly solve problems such as information asymmetry, high transaction costs, and trust of strangers in the development of the sharing economy, making "individual economy" possible. Based on this, blockchain technology is considered to be the core technology that has the greatest potential to trigger the fifth wave of disruptive revolution after steam engines, electricity, information and Internet technology.

In this context, a blockchain craze was born in society, and everyone praised it overwhelmingly. Dialectics tells us that everything has flaws, and only by seeing the pros and cons of things can we make rational decisions. Therefore, in this article, Xue Hongyan (Hong Yanweiyu), a senior researcher at Suning Financial Research Institute, focuses on pouring some cold water on the blockchain.

| What is Blockchain?

Blockchain, English Blockchain, has a rather mysterious technological atmosphere in its name.Information can be simply decomposed into "data blocks" and "links". Each data block contains all the information exchange data of the system within a certain period of time, and is encrypted using cryptographic methods; the link means that each block has a link relationship with the next block, thus forming a blockchain.

It is generally believed that blockchain has two major characteristics: decentralization and trustlessness. A brief introduction is as follows:

Since each block contains all the information exchange data of the system within a specific period of time, Therefore, each block is equal, and the damage of a single block does not affect the security of the entire system, so the blockchain has decentralized characteristics.

Similarly, since each block contains all the information of the system, the authenticity of the information can be cross-verified. Only by breaking through more than 51% of the nodes can the information be tampered with. In a large enough blockchain system , the cost is extremely high, it can be considered that the information in the blockchain is true, so the blockchain has the characteristics of trustlessness.

Most people’s understanding of blockchain begins with Bitcoin. The relationship between the two is that blockchain is the underlying technology and concept, and Bitcoin is only the most popular application of blockchain at present. .

Maybe the above is not popular enough. Finally, let me summarize, what do you think the blockchain is? Is it a disruptive new technology? NO! According to Xue Hongyan (Hong Yanweiyu), a senior researcher at Suning Financial Research Institute, blockchain is not so much a new technology as it is a new ideological concept. The information encryption and other technologies included in the blockchain have been around for a long time, and it is more of a conceptual innovation. This is also the reason why the blockchain has a huge impact. New technologies will be surpassed sooner or later, ranging from one or two years to four to five years; only innovative ideas have enough energy to affect all aspects of the economy and society.

| Blockchain is expected to change the underlying rules of the financial system

In applications in the financial field, blockchain will change the transaction process and record keeping methods, thus significantly reducing transaction costs. It has significantly improved efficiency and is considered to have a broad market environment in digital currency, cross-border payment and clearing, bill trading, securities issuance and trading, property rights transactions, customer credit reporting, anti-fraud, and anti-money laundering.

Such a good technology is naturally sought after by everyone. Like many traditional financial people, Hong Yanweiyu resisted it at first, thinking that this thing was not that great, and did not do any research specifically. Later, as the research on financial technology gradually deepened, it was discovered that blockchain was an obstacle that could not be bypassed, because whether it was robo-advisory, big data risk control or online lending, they were only technological innovations at the financial business level and risk control level. It has not penetrated the bottom layer of the financial system. What is the underlying layer of the financial system? Naturally, it is payment and settlement, transaction rules and system interaction. What the blockchain changes is precisely the underlying rules.

Therefore, throughout the world, financial institutions are the most active in researching blockchain. If nothing else, they are really afraid. blockAfter the decentralization and trustless characteristics of the chain are fully exerted, what do the intermediaries of financial institutions need to do? It is estimated that this is also the first feeling of many people who have a preliminary understanding of blockchain.

In this article, Hong Yanweiyu focuses on pouring cold water on this view.

| Subverting the financial system, blockchain still faces two mountains

Marxist dialectics tells us that everything has two sides. The more prominent the advantages, the more obvious the flaws. It’s just the perspective. Just different. The two major problems with blockchain subverting the financial system lie precisely in the two major advantages of decentralization and trustlessness.

First, let’s talk about decentralization. First, we need to clarify a truth. Does centralization necessarily mean low efficiency? Of course not. Within a specific scope, the concentration of resources brought about by centralization can greatly improve efficiency. This is also the reason why human beings evolve from individuals to villages to tribes and then to countries in the process of evolution. Take UnionPay as an example. UnionPay is the clearing and settlement center for the domestic banking industry. After UnionPay is established, each bank only needs to connect with UnionPay to realize transactions with all banks. If it is decentralized, without UnionPay, each bank will need to When communicating with all counterparties, which one is more efficient? Therefore, there is no need to beat centralization to death with a stick. The decentralization feature of blockchain is destined to only play a role in specific fields (that is, fields that are not suitable for centralization). How can it subvert everything?

Furthermore, it is a matter of trust. There is nothing wrong with detrusting itself, but the technical logic behind it is deeply flawed. Blockchain relies on universal accounting to achieve trustlessness, that is, all transaction information is retained in each block for system cross-verification to identify authenticity. Here comes the problem. Each block retains all transaction information. There is no problem on a small blockchain. However, as more and more information is added, it will inevitably lead to an explosive growth of transaction information and will also bring information. Dramatic increase in storage costs. At the same time, the greater the amount of information, the longer cross-validation takes and the lower the efficiency. Therefore, the blockchain solves the trust problem, but it brings about rising costs and declining efficiency.

Nothing in the world is perfect, and the same is true for blockchain.

As a conclusion, Hongyanweiyu wants to clarify that blockchain, as a conceptual innovation, does have great value and can also have a disruptive impact in specific fields. However, the current one-sided thinking about blockchain is problematic. Eastern wisdom tells us that "the most brilliant and the golden mean", in the face of anything, it is wisest to maintain the golden mean.

(Text/Xue Hongyan, senior researcher at Suning Financial Research Institute; WeChat public account: Hongyan Weiyu)

As early as a few years ago, the word "mining" came with Bitcoin is well known for its popularity. Many people know about Bitcoin first and then the blockchain, and they even don’t know about the blockchain yet. By definition, a blockchain is a sequence of data associated using cryptographic methods.Block, each data block contains the information of a Bitcoin network transaction, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block.

I am not a computer technology expert. The following introduction to blockchain comes from reading and comments from expert friends and is for reference only.

If you want to use one word to explain blockchain, it is: distributed accounting.

To understand what this word means, you need to first understand that traditional accounting has a center. For example, in a bank, when you withdraw money from a bank deposit or lend money to others through the bank, the bank is the center, and all these transactions are based on the bank's credit. What if the bank cheats? Or is it more serious, is the country cheating? The Kuomintang's indiscriminate issuance of gold yuan coupons at the end of its rule in mainland China, as well as the hyperinflation in Weimar Germany and Zimbabwe, which made the currency less valuable than toilet paper, are very famous examples.

Golden Yuan Coupons

This is the problem that blockchain is aimed at. They believe that decentralized accounting is non-modifiable and non-repudiable. How to achieve decentralized accounting? The basic idea is that all users store all transaction records, making it very difficult to illegally modify the ledger through mathematical methods. In this way, the reliability of the ledger is guaranteed.

Specifically, all users exhaustively enumerate random number variables, and the first user to obtain a specific required hash function value (Hash) will have the right to record this round of transactions and obtain the corresponding Bitcoins award. It is transmitted in the form of data blocks, and the data blocks are connected into a chain by appending at the end, so it is called a block chain.

After listening to the introduction, you may feel that this idea is interesting, but it is not as exciting or revolutionary as advertised. Your feeling is right. In fact, the basic logic of blockchain has some unavoidable problems.

For example, the current size of the complete Bitcoin public ledger has exceeded 150 G, and is rapidly increasing at a rate of tens of G per year - just to support 5 million users and 30 million transactions per year. If its processing volume is one day comparable to that of Alipay, the size of the Bitcoin ledger will increase by more than 500 terabytes per year. This is equivalent to backing up the Alipay server's storage data on all users' personal computers. Do you think this is a good idea?

For another example, in the traditional banking system, if you lose your password, it is no big deal. Just report it to the system in time, and your wealth will not disappear. But in the blockchain system, if you lose your password, it will be a huge trouble, and your currency will not be recovered. Not happy? Is it surprising?

Blockchain is computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm, etc.new application models. The so-called consensus mechanism is a mathematical algorithm to establish trust and obtain rights and interests between different nodes in the blockchain system

In layman’s terms, it is to play mahjong. Four people can take turns to be the banker, and each other can shoot four people. They all have their own ledger records, but if you want to modify the ledger, you must have more than 50% of the modification rights, so the cost of cheating on the ledger is very high.

In the future, blockchain will be used more in finance to combat money laundering and fraud, because all information can be traced, and in culture it can be used for copyright protection, etc.

< /p>

I have seen a lot of people’s explanations of blockchain in official terms, and some may not even be clear to the person explaining it. I will explain blockchain in vernacular below to ensure that everyone can read it. Gotta understand.

What is blockchain? Let me give an analogy. In 50 years, you can buy an electric fan from the supermarket. This electric fan will automatically mine coins for you when it is blowing. You can mine coins automatically while using the electric fan. When you use this electric fan, When the fan breaks down, you can use the mined coins to repair the electric fan. Of course, you can also use the mined coins to buy a new electric fan. Many people think wrongly! Wouldn’t the profits of merchants be less? Let me tell you about a certain brand. When the products of this brand are sold to you, the products themselves may even be sold to you at a loss. However, once the number of users becomes large and the users become more sticky, they can be paid through membership fees or service fees. Such small fees or other ways to make profits. Just like this, the mined coins can be purchased and repaired. Although the merchant's profit may be reduced, the merchant has gained more users and greater user stickiness. By this time, it only takes a minute for the merchant to make money.

And the electric fan you bought is equivalent to winding it up for you. What is winding up? If you put your electric fan on the street now, and 10 people come to snatch it, you have no way to prove that the ownership of this electric fan is yours. Once you put it on the chain, it is equivalent to being tied to you. Once it’s settled, you can prove it.

Therefore, the essence of blockchain is to help make people’s lives more convenient. It is equivalent to upgrading on the basis of the Internet, making it safer and more convenient. This is blockchain! It's that simple.

The security of the blockchain is reflected in its irreversibility and the data cannot be tampered with. We all know that in today's society, any data can be modified and conquered by hackers, but the data in the blockchain is impossible to change. Once generated, it cannot be modified unless all users in the blockchain work together. Agree to modify the data, but this is unlikely to happen.

At present, the blockchain is still very immature, just like the Internet bubble burst in 2000.When the bubble bursts, truly valuable blockchain Internet companies will be hatched.

The wheel of history will not go backwards. Many people are unwilling to accept blockchain. Just like telling you that you can shop online 20 years ago, this is the same ridiculous thing. Time will eventually prove it. .

1. The main function of blockchain is to store information. Any information that needs to be saved can be written to the blockchain and read from it, so it is a database.

2. Anyone can set up a server, join the blockchain network and become a node. In the world of blockchain, there is no central node. Every node is equal and stores the entire database. You can write/read data to any node, because all nodes will eventually be synchronized to ensure that the blockchain is consistent.

3. Everyone works on the same blockchain, everyone publicly shares the current state of the blockchain, everyone agrees on the rules for new data submission and tampering with the blockchain is prohibited. It is difficult to operate in terms of computing power.

If we assume that the database is a ledger, reading and writing the database is an accounting behavior:

Anyone can verify this public ledger, but there is no single The user can control it. Participants in the blockchain system will jointly maintain the update of the ledger: it can only be modified according to strict rules and consensus, and there is a very exquisite design behind this.

(1) Accounting, the system will find the person with the fastest and best accounting within a period of time, let this person do the accounting, and then broadcast the information on this page of the account book to everyone else on the entire network. node, which is equivalent to changing the database record; (consensus mechanism, cryptography)

(2) Verification, other valid nodes in the entire network check the correctness of the block accounting, and stamp the time Stamp to confirm that the block is legal; (timestamp, mathematics)

(3) Form a single chain, that is, compete for the next block after the previous legal block; (smart contract, encryption technology)

p>

(4) Storage, the account book is stored in blocks. As transactions increase, new data blocks will be appended to the existing chain to form a chain structure; (distributed structure, information technology) < /p>

(5) Backup, every participating trader is a node of the block network, and each node has a complete backup of the public account book, which is a distributed ledger.

Features

1. The blockchain has no administrator and is completely centerless. It is precisely because it cannot be managed that the blockchain cannot be controlled. Without an administrator, everyone can write data into it. In order to ensure the trustworthiness of the data: the technology of blockchain makes it impossible to tamper with the data once it is written.

2. Close to zero trust cost.

MutualThe cycle time required for Internet companies to build their credit is extremely long. For example, Taobao often takes several years to build its credit. In the blockchain, everyone trusts the code, algorithm and rules, so the cost of trust is extremely low.

3. The marginal cost of constructing and trading assets approaches zero.

If traditional assets are to be used for trading, they need to rely heavily on third parties, such as investment banks, banks, securities firms, etc., for packaging and endorsement, and the fees and thresholds are extremely high. With blockchain, these will not be a problem, and the cost is extremely low.

The value transfer attribute of the blockchain also naturally solves the payment problem, and has the genes to support global payments.

According to my current understanding

1. Blockchain is an outlet.

Everyone is talking about blockchain. Whether they have read it or not, whether they understand it or not, many people are forwarding blockchain articles in their circle of friends. The only new WeChat group is Blockchain related groups.

Investors are talking, entrepreneurs are talking, almost every major Internet company is talking about it, government departments are taking a stand, and tens of thousands of vertical media focusing on blockchain are quickly born.

If you don’t join any currency circle or chain circle, you will be completely out. Even the well-known investment tycoon Zhu Xiaohu was unilaterally declared to belong to the old world by the rising star Chen Weixing.

2. Blockchain represents the story of sudden wealth.

Although ICO has been stopped by the national level, the most popular word-of-mouth about blockchain is still the increase in wealth by hundreds or thousands of times. Coins that were bought for a few cents or a few dollars are now worth dozens or hundreds of dollars. Everyone is talking about value-added stories.

There are Bitcoin and Ethereum. If you download a digital currency trading platform APP, the various currency codes composed of densely packed letters will feel like a stock exchange.

3. Blockchain is not only a technology, but also a belief at the conceptual level.

The basic layer, application layer, and a lot of blockchain knowledge seem to have a lot to do with the hot artificial intelligence.

Many people say that blockchain technology is mature, but applications have barely found an entrance. We can all shout loudly: Artificial Intelligence +, but if you shout "Blockchain +" now, it's not enough and you will be laughed at. The application scenarios are still being explored.

As for the previous Internet, it was an Internet of confidence. With the addition of blockchain, it became an Internet of value.

Such similar concepts are people’s good expectations for blockchain technology to solve the trust problem. If it is so easy to implement, blockchain can subvert finance, e-commerce, and many intermediaries. But why has the Internet not been subverted for so many years and real estate still relies on intermediaries?

4. Blockchain already has a history, so don’t think it is too new.

Just as many people claim that artificial intelligence is so new that it is a joke, its history can be traced back to the 1950s.

The blockchain is marked by the birth of Bitcoin, which was 10 years ago. There is also a still mysterious founder, Satoshi Nakamoto, who seems to have a Japanese name, and some say he is from the United States. From the Security Bureau, I think it can also be interpreted as "Chinese people are inherently smart", of course the latter is just a joke.

The reason why it has become so popular is because of the skyrocketing price of various digital currencies in 2017, which skyrocketed thousands of times in a few months and days. How could there be such an amazing speed in the past?

5. Blockchain is a knowledge system.

For me, whether it is a trend, whether it is a wealth game, or whether it is technology, we cannot ignore it or ignore it.

I started to make two columns to understand the blockchain from the perspective of characters, stories and characters. One is "Blockchain 100 People (Industry People)" and the other is "Blockchain 100 Investors". (Viewpoint)” Learn and spread at the same time.

As for related books, of course, I will accept them all as ordered. I can only be a follower of various trends and follow suit.


The biggest mistake is not how we criticize the blockchain, but to ignore it when we see it has a huge bubble and the crowd is enthusiastic about it. Stay away from it if you think you are noble.

The only way we have left is to be willing to be students, learn, and learn again.

Literal meaning: block, chain, using a chain to connect each block.

Blockchain = distributed data storage + point-to-point transmission + consensus mechanism + encryption algorithm

What is data storage? For example, a supermarket must have a ledger to record the entry and exit of various goods and transactions. This is storage.

What is distributed storage? It is the account book of this supermarket. Every employee has a copy. Every time there is something that needs to be recorded, it will be recorded in everyone's account book in a timely manner. Distributing each ledger (storage) to countless people (places) is distributed storage. (The supermarket employees here can be understood as blocks, and the ledger is the chain)

What is point-to-point transmission? In the same supermarket, there is no yogurt at the front desk. The shopping guide reports it to his superiors, and then reports it to his superiors.... Finally, he reports it to the warehouse. The warehouse records the accounting records in the ledger, and then transfers the goods to the front desk. As for point-to-point transmission, if there is no yogurt at the front desk, the shopping guide directly tells the warehouse, and the quantity sent by the warehouse to the shopping guide is recorded in the ledger. Everyone knows how many goods the warehouse has sent to the front desk. This is point-to-point transmission. There is no intermediate link, but the accounts can be made public for everyone who holds the ledger to see.

What is consensus mechanism? The consensus mechanism mainly includes two points. To summarize simply, the minority obeys the majority and everyone is equal.In this way, there may be high or low positions in this supermarket, but everyone’s account books are indeed the same and equal. If someone makes a false account, then this person's account must be different from other people's accounts. At this time, it depends on whose account is remembered by more people. In theory, as long as the blockchain is large enough, then there is no need to make false accounts. Limit reduction! Because of the "minority obeys the majority" mechanism, if you want to make false accounts, then the number of false accounts you need to make must be at least greater than 50% of the total! On a network, if you need to change a piece of data, you must control at least 50% of the total number of computers to succeed.

The encryption algorithm is easy to understand. That is, when you go to the warehouse to adjust goods, the system will protect your privacy very well. It will only record the time, location, and person with a certain number who went to adjust the yogurt. It couldn't be the time, place, or Zhang San went to mix the yogurt. Taken together, this is the core component of the blockchain.

Personally, I think its main function is to decentralize and protect data from being tampered with! Decentralization and data protection are actually related. A supermarket only has one ledger, and any scheduling needs to go through the person who manages the ledger. If you need to make false accounts, you only need to control the person who manages the ledger. And if that supermarket uses blockchain technology, then he will make false accounts. If this is the case, you need to control more than 50% of the people who hold the total number of accounts of that supermarket. Obviously, controlling so many people will be almost impossible as the number of holders increases.

C. What is blockchain

Blockchain is a new application model of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm, etc. It is Bitcoin A low-level application technology. Traditional information storage and exchange will go through a server, that is, a database, and all information can be found or modified in this database.
There are three types of blockchain: public chain, alliance chain, and private chain.
1. Public chain: It is composed freely by everyone who participates in it. Anyone can enter or exit at any time without any restrictions, but the information during your entry or exit will be known or recorded by the participants. .
2. Alliance chain: It is formed by multiple individuals or groups, and the participating people or groups are designated in advance or can only enter after being reviewed later. It has a certain access mechanism. , the writing and reading permissions of its information can also be determined by the person or group formed.
3. Private chain: It is equivalent to an individual or a certain unit using blockchain technology to store information. Only he has the authority to write information, and he can decide not to disclose the information to the public.

D. What is blockchain? A popular explanation of a new accounting method (you will understand after reading it carefully)

Online in the past 2 years There is a new financial model called "blockchain". I think many people still don't understand the meaning of it. After all, "uo;Blockchain is still "advanced" for ordinary people in the past. So what is the popular explanation of blockchain? In fact, it is not as complicated as we think, so let me tell you about it below. What is "blockchain"? Let's see what's special about this model!

The most popular explanation of blockchain:

What exactly is the "blockchain" that people often talk about? ? I believe that many people do not know much about it, and most of the information viewed on the Internet is "unclear", but it is actually very easy to understand. So what is the popular explanation of blockchain? Fundamentally This model is a "decentralized" accounting method. So what is "decentralization"? In fact, all the exchanges and communications we have on the Internet now will be stored in a browser or In the "centralized" server on the APP, the other party can check our browsing information at will. "Decentralization" can completely avoid this situation.

In "blockchain" Once the information is written in, it cannot be tampered with, ensuring its authenticity and confidentiality. It can also avoid the intervention of third-party platforms in transactions on the virtual market. The transaction is directly completed by both parties, which saves the need for It saves a lot of procedures and time, and can also ensure that information is not leaked, transparent and other security issues, and there is no possibility of data loss!

After reading the above introduction, everyone is interested in the "blockchain" Is there a new understanding of the model? Can’t understand? Let’s take a look at it through a comic!

Fields of application of blockchain

“Blockchain” This model can be applied in many fields. First of all, it must be financial. The original blockchain was born from Bitcoin. This new technology can also be used in education, e-commerce, film and television, etc. , now all walks of life are exploring this new field, hoping to have a foothold in the development of the future era!

E. Analysis of the relationship between distributed and blockchain

We have talked about the discussion of blockchain technology many times in previous articles, and also introduced to you which programming development languages ​​​​to use to realize the blockchain technology. Realization, today we will take a look at how to analyze and understand the structure of the blockchain from a distributed perspective.

Blockchain originated from Bitcoin The underlying technology is used to implement a centerless peer-to-peer cash system. Because there is no involvement of a central organization, Bitcoin is organized in the form of a blockchain.Weave transaction data to prevent "double spending" and reach transaction consensus.

Digital assets in the traditional sense, such as game currency, are managed in a centralized manner and can only be transferred in a single system, coordinated by a centralized organization. , usually stored in a database. From a macro perspective, blockchain and database are both used to store data, but the form of data access is different.

The blockchain is essentially a distributed database that is active in different places. The idea of ​​multi-activity in different places was originally to solve the disaster recovery problem of the system. It has been a direction explored in the field of distributed databases for many years, but with little success because multi-activity in different places needs to solve the problem of data conflicts. This problem is actually Not easy to solve. However, the blockchain born in Bitcoin has realized the world's largest remote multi-active database in a completely new way. It is completely open, has no boundaries, supports tens of thousands of nodes and can join and exit at random.

The problem of data conflicts is even more prominent in the blockchain. Each node in the blockchain is a completely peer-to-peer multi-active architecture, and tens of thousands of nodes must reach an agreement. , who should the data be based on? The method used by Bitcoin is POW. Everyone calculates a puzzle. Whoever calculates it first will have the right to keep accounts. In this cycle, the account he keeps shall prevail in the next cycle. Everyone recalculates. Nodes competing for accounting rights decide which Quanlu transactions are packaged into blocks and synchronize the blocks to other nodes. Other nodes still need to verify the transactions in the block based on local data, unlike the master-slave nodes of the database. This is the consensus algorithm in the blockchain. Although POW consumes a lot of computing power, the advantage is that in the process of competing for accounting rights, POW only needs to calculate hashes in its own nodes and does not need to go through network voting for election. The cost of network communication is small, and it is suitable for consensus among large-scale nodes. Shahe Computer Training believes that POW is a complete, simple and crude method in the current public chain and can stand the test, but the problem is that the efficiency is too low.

So PoS and DPoS were developed later. Whoever has more assets will have the right to bookkeeping, or everyone will vote, but this also introduces economic problems. For example, the so-called vote-buying issue is difficult to control. In traditional distributed databases, it is not called a consensus algorithm, but a consistency algorithm, which is essentially the same thing. However, the number of nodes in a distributed database is generally very small, and the network is trustworthy. Usually the nodes are safe and reliable. We can basically trust every node. Even if it fails and does not respond, it will never respond. False response. Therefore, in traditional company distributed data, Raft or Paxos protocols are used to implement this consistency algorithm.

博客主人唯心底涂
男,单身,无聊上班族,闲着没事喜欢研究股票,无时无刻分享股票入门基础知识,资深技术宅。
  • 35313 文章总数
  • 3637265访问次数
  • 3078建站天数