区块链技术的深入科普研究,区块链技术的深入科普有哪些
近年来,随着区块链技术的发展,它已经成为一种重要的技术架构,被广泛应用于各个行业。为了更好地了解区块链技术,本文将从三个关键词出发,深入科普:区块链的历史发展、智能合约和区块链的安全性。
区块链的历史发展:区块链技术最早出现在2008年,当时由中本聪(Satoshi Nakamoto)发表的白皮书《比特币:一种点对点的电子现金系统》中提出,它是一种分布式数据库技术,通过加密算法,将数据存储在每个节点上,并在网络中共享,从而实现数据的安全性和可验证性。自此,区块链技术发展迅速,并被广泛应用于金融、医疗、法律等领域,为社会发展提供了强有力的支持。
智能合约:智能合约是区块链技术的一个重要组成部分,它是一种可编程的自动执行协议,可以在区块链上实现自动执行,它可以用来编写各种条约,自动执行合同,以及实现资产的可信转移。智能合约的优势在于其去中心化、自动执行、可信赖、可追溯性等,可以有效解决传统合约中的信任问题,极大地提高了合同执行的效率。
区块链的安全性:区块链技术的安全性是其最大的优势,它可以有效防止数据被篡改和伪造,保护数据的安全性。区块链的安全性主要来自于其分布式账本技术,每个节点都可以查看到数据,并且每次数据修改都需要经过大部分节点的确认,从而实现数据的安全性和可靠性。此外,区块链技术还采用了加密算法,可以有效保护数据的安全性,从而实现数据的安全传输。
以上是关于区块链技术的深入科普,包括了区块链的历史发展、智能合约和区块链的安全性。通过对这三个关键词的深入研究,我们可以更好地了解区块链技术,为社会发展做出贡献。
请查看相关英文文档
㈠ What is blockchain? If you understand these 9 questions, you will understand
What is blockchain? If you understand these 9 questions, you will understand
What is blockchain? What can blockchain do? How to make money with blockchain? I believe that many netizens are confused when faced with this new term. So how can we better understand blockchain and make this new technology available to us? The author has collected nine very common questions from the Internet. I hope that after reading this article, you will have a clearer understanding of blockchain.
Nearly omnipotent blockchain technology
Simply put, blockchain is a new application model of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithms. Its core is distributed data, and the result is "decentralization." Blockchain technology can be applied to many scenarios in our lives. Next, let’s take a look at the analysis of blockchain technology!
1. Technology is a double-edged sword. While you are still using your mobile phone to play games, others are already using their mobile phones to make money every month! I want to try Jiaerwu Wuyi Wuba Lingyi Lacquer to make your mobile phone no longer a toy!
Just like nuclear energy is a physical technology, blockchain is an underlying technology at a technical level.
Nuclear energy can be used for atomic bombs and nuclear power generation. Similarly, blockchain can be used for the management of industry and life elements, which may make society more stable, or it may be used by bad guys as the fastest way to commit crimes. .
2. Talking about technical value apart from the application level is muddying the waters
As the underlying technology, blockchain has its application level and negotiation method. Currently, some people talk about blockchain in terms of business models, some in terms of hardware, and some people talk about blockchain in terms of power distribution. It is gradually becoming clear in the market that blockchain is used in the design of technology combinations and business models, from hardware to software to business model to financial design and many other aspects. But not every blockchain can issue coins, and not every blockchain should issue coins.
3. Technology is decentralized, but the application is not necessarily
Blockchain technology is decentralized, but it can be decentralized or not in upper-layer applications. If it is applied to things, industries and projects that cannot be decentralized, it is not decentralized; if it is used to things where everyone can participate universally and have equal authority, then it can be decentralized.
Including coins on the blockchain, if a country adopts legal digital currency, the coins on the blockchain can also be centralized. The blockchain that supports the operation of Bitcoin is decentralized, but the alliance chain usually has one or more enterprises as the core control alliance, which becomes centralization.
Technology itself and what kind of business and political ecology the technology can support are completely different things.
4. What kind of people use what kind of tools
As a powerful tool, blockchain is powerful not only because of technology, but alsoIt is because many talented people have invested in this field that the energy of this technology has been amplified. As for whether the power of blockchain benefits society or cuts leeks? It is possible to make the world more turbulent or to make society more harmonious and beautiful.
On the positive side, more kind-hearted people will come in and reach more consensus, and there will be more legislation, restrictions and norms at the national level, which will ultimately allow us to use this technology to give more people opportunities; on the negative side, In other words, it is possible that more greedy and unethical people will come in to divide the wealth, and it is even possible that people in some countries and regions will use this new technology to commit crimes and terrorism.
5. Blockchain promotes the globalization of civilians
Under the blockchain, the global connection space is closer. The 6-degree space will become 5 degrees or even 4 degrees in the future. Blockchain can inspire The growth of various communities. The globalization of interest groups will become inevitable, and there will be various international communities and summits in the future.
6. Blockchain facilitates co-creation
For example, in the past, the connection between international singers and ordinary people had to go through several barriers, including record companies, agents, sales channels, etc. In the blockchain era, international singers publish their songs under blockchain technology. Everyone has the possibility to become a partner of an international singer, write songs for the international singer, or purchase Tokens to obtain dividend rights from distribution proceeds, etc., and enjoy records. Proceeds from distribution and downloads.
7. Trust will become convenient and low-cost
The combined effect of artificial intelligence, big data and blockchain can resolve disputes at the factual level. The tamper-proof nature of the blockchain allows hundreds or even tens of thousands of machines to maintain the same data and encrypt it. Basic facts will be trustworthy. On this basis, the corresponding contracted and authorized information cannot be changed. Replace manual systems with machines, breaking the loopholes in manual operations, the possibility of cheating and even corruption, so that everyone's information can be confirmed to be authentic and trustworthy.
On this basis, if the trust level of the business system is good, trust between people will be enhanced in the process of implementing the designed system.
8. Interaction leads to creativity, and creativity generates income
Blockchain is a comprehensive ledger. Some exchanges are just ideas and creativity at the moment, but they may be the starting point of a certain cause or even industry in the future. In the previous accounting system, there may not be value. However, under blockchain technology, values that are not yet seen can be recorded. If this leads to products, creative people can benefit. Various human activities may be valuable, creative, and worthy of recording.
Extended from this, a better application of blockchain can record creative related models, introduction of business opportunities, etc., and put valuable things in an ecosystem. Blockchain can create new ones. A cooperative approach.
9. There will be more legal supporting facilities in the future
The world of blockchain is not a disorderly world. Technology will be used by people, and people are rational.
Records can resolve various factual disputes and alsoIt will cause many issues such as more authorization rights, patent and creative copyright management, etc. In the future, there will be more legal support, which can not only standardize and manage service consumption and life, but also avoid related risks and problems, avoid and combat crime
㈡ What is blockchain and how to understand it simply Introducing blockchain
Many people don’t know what blockchain is. Here is a detailed introduction to you. Blockchain is a new technology that subverts the old model. Just like people tend to ignore the invisible but indispensable Like the lack of oxygen, people often ignore the most important thing in the market economy, that is trust. Without trust, no transaction can be established.
In addition, different races, nationalities, cultures, religious beliefs, etc. will form a trust gap. Due to the lack of mutual understanding and necessary trust between strangers, transactions are difficult to occur. The market economy emerged in large numbers among strangers. The emergence and development of the market economy lies in the birth of a new mechanism, which solves the problem of trust between strangers.
The concept of blockchain was first proposed in a paper written by Bitcoin founder Satoshi Nakamoto in 2008. Blockchain can be understood as a kind of public accounting. Technical solution: All data will be open and transparent, without the need for a central server as a trust intermediary, thus ensuring the authenticity, immutability and credibility of information on a technical level. The immutability of data is very important.
Because the blockchain has the technical characteristics of large-scale expansion, open and transparent data, and because the data of each client is consistent, even if some clients are destroyed, it will not affect the reliability of data security. In particular, it can effectively solve the problem of trust between strangers, so this technology can be extended to all areas that can be digitized, such as digital currency, payment settlement, digital bills, proof of rights, credit information, government services, medical records, etc. If blockchain technology develops, it will be closely related to everyone in the future.
㈢ What is the concept of blockchain? What exactly is blockchain? Read it in three minutes!
On October 25, 2019, Xinwen Broadcast sent a very important signal: the country must vigorously develop blockchain. After that, blockchain has become an Internet celebrity, and the figure of "blockchain" is floating in the streets and alleys. In fact, many technology companies have already deployed blockchain technology.
Although blockchain is very popular, many people do not know much about blockchain.
What is blockchain?
Let’s first take a look at how Du Niang explained it. Network display: Blockchain is a new application model of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithms.
Why is blockchain called blockchain?
The blockchain is linked by blocks one by one, and the blocks are storage units that record the communication information of each block node. The blocks are much like the records of a database. Each block is a storage unit. Number of writesData is to create a block. With the expansion of information exchange, one block continues with another, and the result is called a blockchain.
What are the characteristics of blockchain?
Blockchain mainly has the following characteristics:
1. Decentralization: In the blockchain system, every node has equal rights. and obligations, there is no central control here. Decentralization has well established trust relationships with each other. Although there is no central management organization, people can collaborate with each other and trust each other. This mainly applies blockchain distributed ledger technology.
2. Openness: Blockchain data is open to everyone. Except for some encrypted information that is not open, everyone can check the data here.
3. Independence: The entire blockchain system does not rely on other third parties. All nodes can automatically and securely verify and exchange data within the system without any human intervention.
4. Security: Blockchain has a certain degree of security and cannot be tampered with. Because everyone in the blockchain system has the same ledger, if someone wants to tamper with it, it is possible to forge a non-existent record only if they control more than 51% of the accounting nodes. Of course, this is basically impossible. This is mainly due to the core technology of the blockchain: the consensus mechanism. The consensus mechanism has the characteristics of "the minority obeys the majority" and "everyone is equal".
5. Anonymity: Many people think that if the blockchain is so open and transparent, will we lose privacy? In fact, no, although the transaction information in the blockchain is open and transparent, the identity information of the account is encrypted and can only be accessed with authorization.
Now let me tell you a story to help you better understand the blockchain.
There are three people in the family, mom, dad, older brother and younger brother. Last year, my father was in charge of the family's account books. He was responsible for all the family's income and expenses alone.
However, on the day of Double Eleven, my mother, who has always been frugal, wanted to buy herself a beautiful piece of clothing on a certain online store. When she checked the account book, she found something was wrong. It stands to reason that except for some money deposited in banks and financial management, the whereabouts of the daily consumption money at home are all in this account book, but no matter how you look at it, it is wrong. Some consumption is clearly not recorded, but is recorded.
Later, my father took the initiative to confess that he couldn’t help but buy a pack of cigarettes.
Later, my mother changed her strategy and the whole family kept accounts. Everyone recorded their monthly consumption expenditure in their own account books. Whenever there was a transaction or consumption at home, my mother would shout, "Book it," and everyone would record the transaction in their own books. This is going to the centerIn the new accounting model, everyone is the center and everyone has a ledger.
The previous accounting model for dad was centralized accounting. If dad wanted to do something alone, it would be difficult for anyone to see it. The decentralized accounting model has solved the problem of centralization very well. The disadvantage of bookkeeping is that it is very difficult for dad to tamper with the books.
For example, if dad wants to take some money from the ledger and secretly buy cigarettes, the amount of money is limited, and if he wants to take the money, he has to change the ledger, but he only tampered with his own ledger. No, he had to change the accounts of three people including himself. And this is undoubtedly more difficult than reaching the sky.
So, many times my father had the idea of smoking, but he had no choice but to give up the idea due to the current situation.
Are blockchain and Bitcoin the same thing?
In fact, blockchain and Bitcoin are not the same thing. It is just the underlying technology of Bitcoin. Bitcoin is the first digital currency applied by blockchain.
In 2008, Satoshi Nakamoto first proposed the concept of blockchain. In the following years, it became the core component of the electronic currency Bitcoin, serving as a public account book for all transactions. Blockchain was first applied to Bitcoin.
The origin of blockchain is to solve the problem of trust, and one of the most successful applications of blockchain is digital currency. Bitcoin is arguably the most successful application of blockchain so far.
What are the applications of blockchain?
The application of blockchain is actually very wide. In addition to digital currency, the future applications of Bitcoin are still very extensive. Blockchain technology has been widely used in different industries. Such as product traceability, copyright protection and transactions, payment and settlement, Internet of Things, digital marketing, medical care, etc., promoting different industries to quickly enter the "blockchain+" era.
1. Payment and clearing: Blockchain can abandon the role of transit banks, realize point-to-point payment, reduce transit fees, and accelerate fund utilization.
2. Product traceability: For example, if we buy a piece of clothing on a certain store, we can see the past and present life of this piece of clothing.
3. Securities trading: Traditional securities trading requires the coordination of four major institutions, which is inefficient and costly. Blockchain technology can independently complete one-stop services.
4. Supply chain: Introducing blockchain technology into the supply chain system, synchronizing information within the system can control all links, better complete division of labor and collaboration, and facilitate subsequent accountability.
5. Intellectual property rights: With copyright on the chain, our photographic works, musical works, literary works, etc. will become our information, and the ownership of the information will be confirmed and become our property.
㈣ Blockchain technologyWhat is
Blockchain is a new application model of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithms. The so-called consensus mechanism is a mathematical algorithm that establishes trust and obtains rights and interests between different nodes in the blockchain system
Blockchain is an important concept of Bitcoin. It is essentially a decentralized database. , and as the underlying technology of Bitcoin. The blockchain is a series of data blocks generated using cryptographic methods. Each data block contains information about a Bitcoin network transaction and is used to verify the validity of the information (anti-counterfeiting) and generate the next block.
In a narrow sense, blockchain is a chain data structure that combines data blocks in a sequential manner in chronological order, and is distributed cryptographically to ensure that it cannot be tampered with or forged. Account book.
Broadly speaking, blockchain technology uses block chain data structures to verify and store data, uses distributed node consensus algorithms to generate and update data, and uses cryptography to ensure the security of data transmission and access. A new distributed infrastructure and computing method that uses smart contracts composed of automated script codes to program and operate data
㈤ What are the core blockchain technologies of blockchain technology?
What is the hottest topic on the Internet right now? I don’t need to tell you that it is blockchain technology. However, many friends have only heard of this technology and do not have much in-depth understanding of it. So what are blockchain technologies? Below we will bring you an introduction to the core technology of blockchain for your reference.
What are the core elements of blockchain technology?
Blockchain technology, which can be a public ledger (visible by anyone) or a permissioned network (visible only by those authorized), solves supply chain challenges , because it is an immutable record that is shared among network participants and updated in real time.
Blockchain technology----data layer: designing the data structure of the ledger
Core technology 1. Block + chain:
Technically speaking, block is a data structure that records transactions. Reflects the flow of funds for a transaction. The blocks of transactions that have been reached in the system are connected together to form a main chain, and all nodes participating in the calculation record the main chain or part of the main chain.
Each block consists of a block header and a block body. The block body is only responsible for recording all transaction information in the previous period, mainly including the number of transactions and transaction details; the block header encapsulates the current version number, previous A block address, timestamp (recording the time when the block was generated, accurate to the second), random number (recording the value of decrypting the answer to the math question related to the block), the target hash value of the current block, and the Merkle number Root value and other information. From a structural point of view, most functions of the blockchain are implemented by the block header.
Core technology 2. Hash function:
The hash function can pass data of any length through Hash algorithm is converted into a set of fixed-length codes. The principle is based on a cryptographic one-way hash function, which is easy to verify, but difficult to crack. Usually, the industry uses y=hash(x) to represent it. This hash function implements operations on x to calculate a hash value y.
Commonly used hash algorithms include MD5, SHA-1, SHA-256, SHA-384 and SHA-512, etc. Taking the SHA256 algorithm as an example, inputting any string of data into SHA256 will result in a 256-bit Hash value (hash value). Its characteristics: the same data input will get the same result. As long as the input data changes slightly (for example, a 1 becomes a 0), a completely different result will be obtained, and the result cannot be predicted in advance. Forward calculation (calculating the corresponding Hash value from the data) is very easy. Reverse calculation (cracking) is extremely difficult and is considered impossible under current technological conditions.
Core technology 3. Merkle tree:
Merkle tree is a hash binary tree, which can be used to quickly verify the integrity of large-scale data. In the blockchain network, the Merkle tree is used to summarize all transaction information in a block, and ultimately generates a unified hash value of all transaction information in the block. Any change in transaction information in the block will cause Merkle tree changes.
Core technology 4. Asymmetric encryption algorithm:
Asymmetric encryption algorithm is a key secret method that requires two keys: public key and private key. The public key and the private key are a pair. If the public key is used to encrypt data, only the corresponding private key can be used to decrypt it, thereby obtaining the corresponding data value; if the private key is used to sign the data, then only the corresponding public key can be used to sign the data. In order to verify the signature, the sender of the verification information is the holder of the private key.
Because encryption and decryption use two different keys, this algorithm is called an asymmetric encryption algorithm, while symmetric encryption uses the same key in the encryption and decryption processes.
Blockchain technology----network layer: realize the decentralization of accounting nodes
Core technology 5. P2P network:
P2P network (peer-to-peer network), also known as point-to-point technology, is no Central server, Internet system that relies on user groups to exchange information. Unlike a centralized network system with a central server, each client in a peer-to-peer network acts as both a node and a server. Domestic Xunlei software uses P2P technology. The P2P network has the characteristics of decentralization and robustness.
Blockchain technology----Consensus layer: allocate the task load of accounting nodes
Core technology 6. Consensus mechanism:
Consensus mechanism is how to reach consensus among all accounting nodes to identify The validity of a record is both a means of identification and a means of preventing tampering. There are currently four main types of consensus mechanisms: PoW, PoS, DPoS and distributed consensus algorithms.
PoW(ProofofWork,workProof of Volume): PoW mechanism, which is like Bitcoin’s mining mechanism, miners pack existing transactions that have not been recorded by the network into a block, and then continue to traverse and try to find a random number, so that the new block adds a random number. The hash value of the number satisfies certain difficulty conditions. Finding a random number that meets the conditions is equivalent to determining the latest block of the blockchain, and is also equivalent to obtaining the current round of accounting rights of the blockchain. Miners broadcast blocks that meet the mining difficulty conditions in the Yuanfu network. After verifying that the block meets the mining difficulty conditions and that the transaction data in the block meets the protocol specifications, other nodes in the entire network will each Blocks are linked to their own version of the blockchain, thereby forming a network-wide consensus on the current network state.
PoS (ProofofStake, Proof of Stake): PoS mechanism requires nodes to provide proof of a certain number of tokens to obtain a distributed consensus mechanism for competing for blockchain accounting rights. If you rely solely on the token balance to determine the bookkeeper, you will inevitably make the rich win, which will lead to the centralization of bookkeeping rights and reduce the fairness of the consensus. Therefore, different PoS mechanisms use different methods to increase the amount of money based on the proof of equity. The randomness of accounting rights avoids centralization. For example, in the PeerCoin PoS mechanism, the Bitcoin with the longest chain age has a greater chance of obtaining accounting rights. NXT and Blackcoin use a formula to predict the next accounting node. The more tokens you own, the greater the probability of being selected as an accounting node. In the future, Ethereum will also switch from the current PoW mechanism to a PoS mechanism. Judging from the information currently available, Ethereum's PoS mechanism will use nodes to place bets on the next block. The winner of the bet will receive an additional Ethereum currency award. Those who do not win will be deducted Ether coins to reach consensus on the next block.
DPoS (DelegatedProof-Of-Stake, share authorization certificate): DPoS is easy to understand and is similar to the modern corporate board of directors system. The DPoS mechanism adopted by BitShares is that shareholders vote to select a certain number of witnesses. Each witness has two seconds of authority to generate blocks in order. If the witness cannot generate a block within the given time slice, The block generation authority is given to the witness corresponding to the next time slice. Shareholders can replace these witnesses at any time by voting. This design of DPoS makes the generation of blocks faster and more energy-saving.
Distributed Consistency Algorithm: Distributed Consistency Algorithm is based on traditional distributed consistency technology. Among them are Byzantine fault-tolerant algorithms that solve the Byzantine Generals problem, such as PBFT (Byzantine fault-tolerant algorithm). In addition, distributed consensus algorithms (Pasox, Raft) that solve non-Byzantine problems are not explained in this article. This type of algorithm is currently a commonly used consensus mechanism in alliance chain and private chain scenarios.
Taken together, POW is suitable for public chains. If you build a private chain, it is more appropriate to use POS because there is no trust problem with verification nodes; while the alliance chain has untrustworthy local nodes.Point, it is more appropriate to use DPOS.
Blockchain technology----Incentive layer: Develop a "salary system" for accounting nodes
Core technology 7. Issuance mechanism and incentive mechanism:
Take Bitcoin as an example. Bitcoins are initially rewarded by the system to miners who create new blocks, and this reward is halved approximately every four years. At the beginning, miners were rewarded with 50 Bitcoins for each new block recorded, and this reward is halved approximately every four years. By analogy, by around AD 2140, newly created blocks will no longer receive rewards from the system. By then, the total number of Bitcoins will be approximately 21 million. This is the total number of Bitcoins, so it will not increase indefinitely.
Another source of incentives is transaction fees. When there are no system rewards for newly created blocks, the miners' income will change from system rewards to transaction fees. For example, when you transfer, you can specify 1% of it as a handling fee to be paid to the miner who records the block. If the output value of a transaction is less than the input value, the difference is the transaction fee, which will be added to the incentive for that block. As long as a given amount of electronic currency has entered circulation, the incentive mechanism can gradually be converted to rely entirely on transaction fees, so there is no need to issue new currency.
Blockchain technology----Contract layer: giving the ledger programmable features
Core technology 8. Smart contract:
Smart contract is a set of programmed rules and logic that respond to scenarios. Implemented by decentralized, trusted shared script code deployed on the blockchain. Usually, after the smart contract is signed by all parties, it is attached to the blockchain data in the form of program code, and is recorded in a specific block of the blockchain after being propagated through the P2P network and verified by nodes. Smart contracts encapsulate a number of predefined states and transition rules, scenarios that trigger contract execution, response actions under specific scenarios, etc. The blockchain can monitor the status of smart contracts in real time, and activate and execute the contract by checking external data sources and confirming that specific trigger conditions are met.
The above is what blockchain technologies the editor has brought to you? All content of the introduction to the core technology of blockchain.
㈥ What is blockchain technology? Introduction to blockchain technology
1. Blockchain is a term in the field of information technology. In essence, it is a shared database, and the data or information stored in it has the characteristics of "unforgeable", "full traces left", "traceable", "open and transparent" and "collectively maintained". Based on these characteristics, blockchain technology has laid a solid foundation of "trust" and created a reliable "cooperation" mechanism, which has broad application prospects.
2. On January 10, 2019, the Cyberspace Administration of China issued the "Blockchain Information Service Management Regulations". On October 24, 2019, during the 18th collective study session of the Political Bureau of the CPC Central Committee, the General Secretary emphasized that "blockchain should be used as an important breakthrough for independent innovation of core technologies" and "accelerate the development of blockchain technology and industrial innovation." "Blockchain" has entered the public eye and become the focus of society.
㈦ An easy-to-understand explanation of blockchain
The popular explanation of blockchain technology is as follows:
To put it simply: blockchain is the use of a package of existing network technologies , a new generation network system formed. This network system has a new structure, a new mechanism, and unprecedented new value. Five major technologies or innovations are specifically used: encryption technology, P2P network technology, distributed storage technology, consensus mechanism, and smart contracts.
Essentially: it is a shared database, and the data or information stored in it is "unforgeable", "full-process traces", "traceable", "open and transparent" and "collectively maintained" ” and other characteristics. Based on these characteristics, blockchain technology has laid a solid foundation for "trust-based sales" and created a reliable "cooperation" mechanism. Yunchun has broad application prospects.
2. Openness.
In addition to the encryption of private information of all parties to the transaction, the blockchain data is open to everyone and provides a flexible script code system. The entire system information is highly transparent and within the rules specified by the system. Nodes cannot deceive each other.
3. Autonomy.
Consensus technology, smart contracts.
㈧ What does blockchain mean and how to understand it
Blockchain is a new application model of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm.
Blockchain is an important concept of Bitcoin. It is essentially a decentralized database. As the underlying technology of Bitcoin, it is a series of related data generated using cryptographic methods. Each data block contains a batch of Bitcoin network transaction information, which is used to verify the validity of the information (anti-counterfeiting) and generate the next block.
Notes
1. Blockchain Originated from Bitcoin, on November 1, 2008, a person claiming to be Satoshi Nakamoto published the article "Bitcoin: A Peer-to-Peer Electronic Cash System", which elaborated on P2P network technology, encryption technology, The architectural concepts of electronic cash systems such as timestamp technology and blockchain technology mark the birth of Bitcoin.
Two months later, the theory came into practice, and on January 3, 2009, the first genesis block with serial number 0 was born. A few days later, block number 1 appeared on January 9, 2009, and was connected to the genesis block number 0 to form a chain, marking the birth of the blockchain.
2. In order to realize the great leap forward development of blockchain finance, in order to promote the new development of China’s economy, accelerate the circulation of global assets, and realize the dream of rejuvenation that generations have been striving for, Puyin Group launched the On the 9th, a Puyin Blockchain Finance Guiyang Strategy Release Ceremony was held in Guizhou. At the meeting, blockchain will be used to digitize assets.circulation, blockchain financial transaction models, and discuss the application of blockchain services and social public industries.
㈨ Blockchain technology concept
Blockchain technology concept
Blockchain technology concept, nowadays, blockchain has become the concern of most people In the field of blockchain, many companies have already studied this technology in depth, but there are still people who don’t know much about it. Below I will share an article about the concept of blockchain technology.
Blockchain technology concept 1Basic concepts and working principles of blockchain
1. Basic concepts
Blockchain is a distributed data storage, point-to-point New application models of computer technologies such as transmission, consensus mechanisms, and encryption algorithms. The so-called consensus mechanism is a mathematical algorithm that establishes trust and obtains rights and interests between different nodes in the blockchain system.
Blockchain is an important concept of Bitcoin. It is essentially a decentralized database and serves as the underlying technology of Bitcoin. The blockchain is a series of data blocks generated using cryptographic methods. Each data block contains information about a Bitcoin network transaction, which is used to verify the validity of the information, prevent counterfeiting, and generate the next block.
In a narrow sense, blockchain is a chain data structure that combines data blocks in a sequential manner in chronological order, and is cryptographically guaranteed to be non-tamperable and non-transformable. Fake distributed ledger.
Broadly speaking, blockchain technology uses block chain data structures to verify and store data, uses distributed node consensus algorithms to generate and update data, and uses cryptography to ensure data transmission and access. It is a new distributed infrastructure and computing method that uses smart contracts composed of automated script codes to program and operate data securely.
2. Working principle
The blockchain system consists of data layer, network layer, consensus layer, incentive layer, contract layer and application layer. Among them, the data layer encapsulates the underlying data blocks and related basic data and algorithms such as data encryption and timestamps; the network layer includes distributed networking mechanisms, data dissemination mechanisms and data verification mechanisms; the consensus layer mainly encapsulates network nodes Various consensus algorithms; the incentive layer integrates economic factors into the blockchain technology system, mainly including the issuance mechanism and distribution mechanism of economic incentives; the contract layer mainly encapsulates various scripts, algorithms and smart contracts, and is the core of the blockchain The basis of programmable features; the application layer encapsulates various application scenarios and cases of the blockchain. In this model, the chain block structure based on timestamps, the consensus mechanism of distributed nodes, economic incentives based on consensus computing power, and flexible programmable smart contracts are the most representative innovations of blockchain technology.
Blockchain mainly solves the trust and security issues of transactions, soTherefore, it proposed four technological innovations to address this problem:
1. Distributed ledger, which means that transaction accounting is completed by multiple nodes distributed in different places, and each node records complete accounts, so they can all participate in supervising the legality of transactions and can also jointly testify for them.
Different from traditional distributed storage, the uniqueness of blockchain distributed storage is mainly reflected in two aspects: First, each node of the blockchain stores complete data according to the block chain structure. For data, traditional distributed storage generally divides the data into multiple parts for storage according to certain rules. Second, the storage of each node in the blockchain is independent and has equal status, relying on the consensus mechanism to ensure storage consistency, while traditional distributed storage generally synchronizes data to other backup nodes through the central node. [8]
No node can record ledger data independently, thus avoiding the possibility of a single bookkeeper being controlled or bribed to record false accounts. Also because there are enough accounting nodes, theoretically speaking, the accounts will not be lost unless all nodes are destroyed, thereby ensuring the security of the accounting data.
2. Asymmetric encryption and authorization technology. Transaction information stored on the blockchain is public, but account identity information is highly encrypted and can only be accessed with authorization from the data owner. , thus ensuring data security and personal privacy.
3. The consensus mechanism is how all accounting nodes reach a consensus to determine the validity of a record. This is both a means of identification and a means of preventing tampering. Blockchain proposes four different consensus mechanisms, which are suitable for different application scenarios and strike a balance between efficiency and security.
The consensus mechanism of the blockchain has the characteristics of "the minority obeys the majority" and "everyone is equal". "The minority obeys the majority" does not entirely refer to the number of nodes, but can also be the computing power and the number of shares. Or other characteristic quantities that the computer can compare. "Everyone is equal" means that when a node meets the conditions, all nodes have the right to give priority to the consensus result, which will be directly recognized by other nodes and may eventually become the final consensus result. Taking Bitcoin as an example, it uses proof of work. Only when more than 51% of the accounting nodes in the entire network are controlled, it is possible to forge a non-existent record. When there are enough nodes joining the blockchain, this is basically impossible, thus eliminating the possibility of fraud.
4. Smart contracts. Smart contracts are based on these trustworthy and non-tamperable data. Some predefined rules and terms can be automatically executed. Take insurance as an example. If everyone's information, including medical information and risk occurrence information, is true and trustworthy, it will be easy to implement automated claims settlement in some standardized insurance products.
3. Others
The Internet exchanges information, and the blockchain exchanges value. human history andThe history of the Internet can be understood in eight words: if it divides for a long time, it must be reunited. When it comes to the era of division, all network information is scattered on the Internet. It is very difficult for everyone to mine information. At this time, platforms such as Google and Facebook will appear, which will do The only thing is to recombine all our information. In the Internet era, what the monopoly giants reorganize is information, rather than generating their own information. The information generated is entirely our own. Once the information is reorganized, a new monopoly giant will emerge, so it will be an era of long-lasting separation. Now, due to the emergence of blockchain technology, it has entered an era of integration and division. It is a new multi-centralization. After the new multi-centralization, new value will be generated. These data will be in our own hands, and personal data will generate value. It belongs to oneself. This is the most exciting era of this era.
What is the value of blockchain? A low-cost mechanism to establish trust, establish data rights, and resolve data property rights.
At present, blockchain technology continues to develop, including the current development of single chains to multi-chains, and the technology can be further expanded. I think there may still be disruptions in the future, especially in transactions and other aspects. , especially many disruptive scenarios for existing industries.
The essence of blockchain is to establish trusted information exchange on untrustworthy networks.
One Belt, One Road + One Chain. The bigger thing about blockchain is not to create trust, but to allow trust to be transmitted losslessly, reducing the friction cost of society as a whole, thereby improving the overall efficiency.
Now the blockchain itself is still in its initial stage, so it includes the information transmission and encryption of the blockchain. Quantum encryption and other encryption appear in this process, which actually attacks the encryption algorithm used by the blockchain itself. This phenomenon also occurs from time to time. Including blockchain is also a recognition of assets, a recognition of digital assets, but now many of us use cryptographic algorithms, or as the key for us to decrypt, but if you forget the password, it is very likely that your current assets will be lost. If you lose them, you won't be able to get back your original assets. Therefore, there are still some hidden dangers in asset management, including information transmission and some security aspects. Of course, from a technical perspective, the processing speed of our blockchain itself, or its scalability, is because from the perspective of the working mechanism, the entire ledger must be copied to all participants, so in the blockchain Its operational efficiency and scalability are still relatively limited. We feel that these still need further development in terms of technology.
The underlying technologies of the blockchain platform also form blockchain wallets, blockchain browsers, node elections, mining machines, mining pools, development components, development modules, technical communities and project communities. and a series of ecosystems. The perfection of these ecosystems directly determines the efficiency and effectiveness of the underlying platform of the blockchain.
4. Mundell’s Impossible Triangle
Decentralization, efficiency, and security are impossible to achieveNow all three reach their peak at the same time.
Blockchain technology concept 2The essence of blockchain is a distributed accounting technology, as opposed to centralized accounting technology, which is widely used in our current lives. exist. Blockchain is a new application model of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm.
Blockchain is an important concept of Bitcoin. It is essentially a decentralized database. At the same time, as the underlying technology of Bitcoin, it is a series of related cryptographic methods. Each data block contains a batch of Bitcoin network transaction information, which is used to verify the validity and anti-counterfeiting of the information and generate the next block.
In a narrow sense, blockchain is a chain data structure that combines data blocks in a sequential manner in chronological order, and is cryptographically guaranteed to be non-tamperable and non-transformable. Fake distributed ledger.
Broadly speaking, blockchain technology uses block chain data structures to verify and store data, uses distributed node consensus algorithms to generate and update data, and uses cryptography to ensure data transmission and access. It is a new distributed infrastructure and computing method that uses smart contracts composed of automated script codes to program and operate data securely.
The popular understanding of blockchain technology is: connecting the front, back, left, and right blocks of "things" into a chain using one technology, but each block The original data of the block cannot be tampered with. It is a "linked module" technology in the field of Internet of Things that allows participants to trust. The application of blockchain technology is inseparable from the Internet and the Internet of Things. It is based on the integration and interaction of the two, but allows participants to remain independent, decentralized, and work together. With this set of value chain co-construction and sharing, technology.
Characteristics of blockchain: decentralization, openness, autonomy, information cannot be tampered with, and anonymity.
Blockchain is a network that can deliver value. The demand for a network that can deliver value is an important reason for the emergence of blockchain technology. Blockchain emerged driven by the need to protect information with ownership or other value. Through public and private key cryptography, distributed storage and other technical means, the blockchain ensures on the one hand the efficient transmission of valuable information, and on the other hand ensures that this information will not be easily copied and tampered with during the transmission process.
Understand the connotation of blockchain from the inevitability of its birth. Blockchain is a distributed accounting technology that solves the shortcomings of centralized accounting and solves the problem of distributed consistency. It is also The connected Internet is upgraded to a value network that ensures the safe and efficient transmission of valuable information.
Blockchain Technology Concept 3Blockchain: Blockchain is like a globally unique account book, or database, which records the history of all transactions in the network.
Ethereum Virtual Machine (EVM): It allows you to write more powerful programs on Ethereum and script programs on Bitcoin. It is also sometimes used to refer to the Ethereum blockchain, which is responsible for executing smart contracts and everything.
Node: You can run a node to read and write to the Ethereum blockchain, that is, using the Ethereum Virtual Machine. Full nodes require downloading the entire blockchain. Light nodes are still under development.
Miner: Mining, that is, the node that processes blocks on the blockchain. You can see some of the currently active Ethereum miners on this page: stats.ethdev.com.
Proof of Work: Miners are always competing to solve some mathematical problem. The first one to solve the problem (calculate the next block) will be rewarded with Ether coins. All nodes then update their own blockchain. All miners who want to figure out the next block have an incentive to stay in sync with other nodes and maintain the same blockchain, so the entire network can always reach consensus. (Note: Ethereum is planning to move to a proof-of-stake system (POS) without miners, but that is beyond the scope of this article.)
Ethereum: Abbreviation ETH. A true digital currency that you can buy and use. Here is a chart from one of the exchanges where you can trade Ethereum. At the time of writing, 1 Ether is worth 65 cents.
Gas: Executing programs and saving data on Ethereum consumes a certain amount of Ethereum. Gas is converted from Ethereum. This mechanism is used to ensure efficiency.
DApp: The Ethereum community calls applications based on smart contracts decentralized applications (Decentralized App). The goal of DApp is (or should be) to have a friendly interface for your smart contracts, plus some extras, such as IPFS, a decentralized network that can store and read data, not from the Ethereum team but in a similar spirit ). DApp can run on a centralized server that can interact with Ethereum nodes, or it can run on any Ethereum equal node. (Take a minute to think about this: Unlike ordinary websites, DApps cannot run on ordinary servers. They need to submit transactions to the blockchain and read important data from the blockchain rather than a centralized database. Compared to typical users When logging into the system, the user may be represented as a wallet address and other user data is stored locally. Many things will be structured differently from current web applications.)
Ethereum client, smart contract language
p>Writing and deploying smart contracts does not require you to run an Ethereum node. Browser-based IDEs and APIs are listed below. But if you are just learning, you should still run an Ethereum node to understand the basic components, and running a node is not difficult.
Clients available for running Ethereum nodes
Ethereum has many client implementations in different languages, that is, multiple methods of interacting with the Ethereum network, including C++, Go, Python, Java, Haskell, etc. Why do we need so many implementations? Different implementations can meet different needs. For example, the goal of Haskell implementation is to be mathematically verifiable, to make Ethereum more secure, and to enrich the entire ecosystem.
At the time of writing this article, I am using the client geth (go-ethereum) implemented in the Go language. At other times, I also use a tool called testrpc, which uses the Python client pyethereum. Later examples will use these tools.
About mining: Mining is fun, a bit like caring for your houseplant, but also a way to learn about the entire system. Although the current price of Ethereum may not even cover the electricity bill, who knows in the future. People are creating many cool DApps that may make Ethereum more and more popular.
Interactive console: Once the client is running, you can synchronize the blockchain, create a wallet, and send and receive Ethereum. One way to use geth is through the Javascript console. In addition, you can use cURL-like commands to interact with the client through JSON RPC. The goal of this article is to take you through the process of DApp development, so I won’t go into details about this. But we should remember that these command line tools are useful for debugging, configuring nodes, and using wallets.
Running the node on the test network: If you run the geth client on the official network, it will take quite a while to download the entire blockchain and synchronize with the network. You can determine if synchronization has occurred by comparing the last block number printed in the node logs with the latest block listed on stats.ethdev.com. ) Another problem is that running smart contracts on the official network requires real Ethereum. Running the node on the test network does not have this problem. At this time, there is no need to synchronize the entire blockchain. Just create your own private chain, which saves time for development.
Testrpc: Use geth to create a test network. Another faster way to create a test network is to use testrpc. Testrpc can help you create a bunch of test accounts with funds at startup. It also runs faster and is therefore better suited for development and testing. You can start with testrpc, and then as the contract slowly takes shape, move to the test network created by geth - the startup method is very simple, you only need to specify a networkid: geth --networkid "12345". Here is the code repository for testrpc, we will talk about it again below.
Next let’s talk aboutprogramming language, and then you can start real programming. Solidity is the programming language used to write smart contracts.
There are several languages to choose from when writing smart contracts: Solidity, which is somewhat similar to Javascript, has a file extension of .sol. Serpent, which is similar to Python, has a file name ending in .se. There is also a Lisp-like LLL. Serpent has been popular for a while, but now the most popular and stable one is Solidity, so just use Solidity. I heard you like Python? Use Solidity.
solc compiler: After writing the smart contract with Solidity, you need to use solc to compile it. It is a component from a C++ client implementation. Again, different implementations complement each other. Here is how to install it. If you don't want to install solc, you can also use a browser-based compiler, such as Solidity real-time compiler or Cosmo. The programming sections below will assume you have solc installed.
web3.js API. After the Solidity contract is compiled and sent to the network, you can use Ethereum's web3.js JavaScript API to call it and build web applications that can interact with it.