Explain blockchain 6 to your girlfriend
blockchain is an important concept of bitcoin. It is essentially a disintermediated database. At the same time, as the underlying technology of bitcoin, it is a series of data blocks generated by using cryptographic methods. Each data block contains the information of a bitcoin network transaction, which is used to verify the effectiveness of its information (anti-counterfeiting) and generate the next block
blockchain is a new application mode of distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm and other computer technologies
in a narrow sense, blockchain is a kind of chain data structure that combines data blocks in a sequential way according to the time sequence, and it can not be tampered with and forged by cryptography
broadly speaking, blockchain technology uses blockchain data structure to verify and store data, uses distributed node consensus algorithm to generate and update data, and uses cryptography to ensure the security of data transmission and access It is a new distributed infrastructure and computing method to program and operate data by using intelligent contract composed of automated script code
extended data:
the evolution mode of blockchain is as follows:
& 9642; Blockchain 1.0 - digital currency
▪ Blockchain 2.0 - digital assets and smart contracts
▪ Blockchain 3.0 - Implementation of distributed applications in various instries
blockchain features:
1. Disintermediation. Due to the use of Distributed Accounting and storage, there is no centralized hardware or management organization in the system, the rights and obligations of any node are equal, and the data blocks in the system are jointly maintained by the nodes with maintenance function in the whole system
2. Openness. The system is open. In addition to the private information of all parties to the transaction is encrypted, the data of the blockchain is open to all. Anyone can query the blockchain data and develop related applications through the open interface, so the information of the whole system is highly transparent
3. Autonomy. Blockchain adopts consensus based specifications and Protocols (such as a set of open and transparent algorithms) to enable all nodes in the whole system to exchange data freely and safely in a de trusted environment, so that the trust in "people" is changed into the trust in machines, and any human intervention does not work
The information can not be tampered with. Once the information is verified and added to the blockchain, it will be stored permanently. Unless more than 51% of the nodes in the system can be controlled at the same time, the modification of the database on a single node is invalid. Therefore, the data stability and reliability of the blockchain are extremely high5. Anonymity. Because the exchange between nodes follows a fixed algorithm, the data interaction does not need to be trusted (the program rules in the blockchain will judge whether the activity is effective). Therefore, the counterparties do not need to make the other party trust themselves by disclosing their identities, which is very helpful for the accumulation of credit
blockchain is an important concept of bitcoin, which is essentially a decentralized database and the underlying technology of bitcoin. Blockchain is a series of data blocks generated by cryptography. Each data block contains the information of a bitcoin network transaction, which is used to verify the validity of the information (anti-counterfeiting) and generate the next block
let's talk about the social or economic significance of blockchain. In fact, many of the previous technologies were devoted to "proctivity". For example, artificial intelligence is a kind of progress in proctivity. The blockchain, which has greatly improved the proction relations, is committed to the proction relations. So why do you say that
because the so-called proction relationship is actually how to do business between people and business partners. And these things, originally, are in the cognitive process between people, and there is no special program to program or quantify it
for example, if you and I are good friends now, we can do business. If someone stirs up our relationship and we are not good friends, we will not do business. Even if we can make money in business, we will not do business because there is no trust between us
as for blockchain, it is actually because the data is authenticated by all nodes and backed up at the same time, so my data is as real as possible and can't be tampered with. In this case, if you believe my data, you can make a program on this basis, and then use the data to make what kind of business contract, what kind of service, what kind of service, and what kind of service, what kind of service, what kind of service, what kind of service, what kind of service, what kind of service, what kind of service, etc This "proction relationship" of commercial cooperation is programmed. In this way, we believe in the data and the program compiled by the algorithm. Because you believe in the data and the program, you can develop all kinds of apps in the program. These apps are the proction relations and what business to do. This is: blockchain is actually a reconstruction of "proction relationship".
1. Data layer
the data layer is the lowest layer in the six hierarchies of the blockchain. We can understand the data layer as a database, but for the blockchain, this database is a tamperable and distributed database, which is what we call "distributed ledger"
in the data layer, that is, the "distributed ledger", the data information on the blockchain is stored, and the blockchain structure, asymmetric encryption technology, hash algorithm and other technical means of the block are encapsulated to ensure the security of the data in the case of the whole network being open. The specific method is:
in the blockchain network, nodes use consensus algorithm to maintain the consistency of data layer (that is, the distributed database), and use asymmetric encryption and hash algorithm in cryptography to ensure the non usurpation and traceability of the distributed database
This constitutes the bottom data structure of blockchain technology. However, it is not enough to have a distributed database. We also need to let the data information in the database be shared and exchanged. Next, we will introce the upper layer of the data layer - the network layer
Second, network layer
the network system of blockchain is essentially a P2P (point-to-point) network. Point to point means that there is no need for an intermediate link or centralized server to control the system. All resources and services in the network are distributed in the hands of each node, and the transmission of information is also a direct communication between the two nodes. However, it should be noted that P2P
(peer-to-peer) was not invented by Nakamoto, and the blockchain only integrates this technology
therefore, the network layer of blockchain is actually a particularly powerful point-to-point network system. In this system, each node can not only proce information, but also receive information, just like sending e-mail. You can write your own e-mail, and you can also receive the e-mail sent to you by others
in the blockchain network, nodes need to jointly maintain the blockchain system. Every time a node creates a new block, it needs to notify other nodes in the form of broadcast. After receiving the information, other nodes verify the block, and then create a new block on the basis of the block. In this way, the whole network can jointly maintain and update the general ledger of the blockchain system
however, what rules should the whole network follow to maintain and update the general ledger of the blockchain system? This involves the so-called "laws and regulations" (rules), which we will introce next: the consensus layer
Third, consensus layer
in the world of blockchain, consensus simply means that the whole network should maintain and update the general ledger of blockchain system according to a unified and agreed rule, which is similar to the rule of updating data. It is one of the core technologies of blockchain and the governance mechanism of blockchain community to let highly dispersed nodes reach consensus efficiently in the decentralized blockchain network
at present, the mainstream consensus mechanism algorithms include: proof of work of bitcoin (POW), proof of rights and interests of Ethereum (POS), proof of rights and interests of EOS (dpos), etc
we now introce the data layer, network layer and consensus layer. These three layers ensure that there are data, networks and rules for updating data on the network. However, there is no free lunch in the world. How can nodes actively participate in the maintenance of the blockchain system? Here is the incentive layer, which we will introce next: incentive layer< 4. Incentive layer
incentive layer is the so-called mining mechanism, which can be understood as incentive mechanism: you can get as much reward as you contribute to the blockchain system. With this incentive mechanism, the whole network nodes can be encouraged to participate in the data recording and maintenance on the blockchain
mining mechanism and consensus mechanism are actually the same truth. Consensus mechanism can be understood as the company's general rules and regulations, while mining mechanism can be understood as the reward rules for what you do well in the general rules and regulations
just like the consensus mechanism POW of bitcoin, it stipulates that more work pays more. Whoever can find the correct hash value first can get a certain amount of bitcoin reward
and Ethereum's POS stipulates that the older the holder is, the more likely he or she will be rewarded
it should be noted that the incentive layer is generally only available for the public chain, because the public chain must rely on the nodes of the whole network to jointly maintain data, so there must be a set of incentive mechanism to encourage the nodes of the whole network to participate in the construction and maintenance of the blockchain system, so as to ensure the security and reliability of the blockchain system
the blockchain is safe and reliable, and it is not intelligent enough, right? The contract layer we will introce next can make the blockchain system more intelligent
v. contract layer
Contract layer mainly includes various scripts, codes, algorithm mechanisms and smart contracts, which is the basis of block chain programming. What we call "smart contract" is at the contract level
if the bitcoin system is not intelligent enough, the "smart contract" proposed by Ethereum can meet many application scenarios. The principle of the contract layer is to embed the code into the blockchain system, in this way to realize the smart contract that can be customized. In this way, on the blockchain system, once the terms of the smart contract are triggered, the system can automatically execute commands< Finally, the application layer. The application layer is very simple. As the name suggests, it is a variety of application scenarios and cases of blockchain. What we now call "blockchain +" is the so-called application layer. At present, the blockchain applications that have been implemented are mainly various blockchain applications built on
eth, EOS and other public chains. There are more applications of gambling and games, and the real practical applications have not yet appeared.
blockchain is a decentralized distributed ledger database . The advantage of this distributed ledger is that buyers and sellers can trade directly without any intermediary. Everyone has a backup, even if you lose this, it will not be affected
{rrrrrrr}
extended data:
blockchain application field
1, financial field
blockchain has potential huge application value in international exchange, letter of credit, equity registration, stock exchange and other financial fields. The application of blockchain technology in the financial instry can save the third-party intermediary link and realize the point-to-point direct docking, so as to greatly rece the cost and quickly complete the transaction payment
2. The Internet of things and logistics
blockchain can also be naturally combined in the field of Internet of things and logistics. Through blockchain, we can rece logistics costs, trace the proction and delivery process of goods, and improve the efficiency of supply chain management. This field is considered as a promising application direction of blockchain
3. The data stored on the public welfare field
blockchain is highly reliable and tamperable, which is naturally suitable for social public welfare scenarios. The relevant information in the public welfare process, such as donation project, collection details, fund flow, recipient feedback, etc., can be stored on the blockchain, and can be made transparent and public, which is convenient for social supervision
4. In the field of insurance
in terms of insurance claims, insurance institutions are responsible for fund collection, investment and claims settlement, and often have higher management and operation costs. Through the application of smart contract, there is no need for the applicant to apply or the insurance company to approve. As long as the claim conditions are triggered, the automatic claim settlement of the policy can be realized
blockchain is used to record public data together, or more narrowly, to keep accounts
for example, you recorded that Zhang San owes you 10000 yuan in your computer, and Zhang San said that you still owe me 1 million yuan in my computer. So what
it used to be solved like this: find a notary, and your accounts will be recorded in the notary. In case of any dispute, the notary's account book shall prevail. For example, this is what banks do. Both of your money is deposited with him. There are records of transfers and loans
blockchain solves this problem: when you keep an account in your own computer, Zhang San also records the same data in his own computer. After recording, you two check with each other and agree. This account is officially recorded. There is no need for the participation of a third party or the so-called "authority" or "certification body"
the way that everyone keeps accounts together is also known as "distributed" or "decentralized", because everyone keeps accounts, and the accuracy of the account book is determined by the program algorithm, not an authoritative organization
extended data:
blockchain is characterized by abnormal security, non tampering, accessibility and no third party
its application scenarios include, but are not limited to, no need to prove that "my mother is my mother" in the future. The tamper proof feature of blockchain technology has fundamentally changed this situation. Our birth certificate, real estate certificate and marriage certificate can be notarized on the blockchain, becoming something trusted by the whole world. Of course, it can also easily prove that "my mother is my mother"
for another example, we often use Ctrip, meituan and other apps to find and place orders for hotels and other services, and each platform gets a commission from them. The application of blockchain is to remove middlemen and create a secure and decentralized way for service providers and customers, so as to achieve the purpose of direct connection and transaction