Position: Home page » Blockchain » Blockchain essential technology
Blockchain essential technology
Publish: 2021-05-18 03:10:31
1. First of all, we can take a look at the official website explanation of blockchain technology. 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 is a distributed account book that can not be tampered with and forged by means of cryptography
broadly speaking, blockchain technology is a new distributed infrastructure and computing paradigm, which uses blockchain data structure to verify and store data, uses distributed node consensus algorithm to generate and update data, uses cryptography to ensure the security of data transmission and access, and uses intelligent contract composed of automated script code to program and operate data
as we all know, blockchain technology is an independent underlying architecture from bitcoin system. From the perspective of architecture model, it is a set of distributed ledger, which is naturally used for bookkeeping
in the blockchain technology, if you want to generate accounting records, you need to have the transaction and flow of funds. Therefore, in the initial blockchain technology, the cryptocurrency corresponding to the main network is used as circulation goods, and the circulation transaction records of cryptocurrency between the accounts of the main network of the blockchain will be recorded on the main network
different from other transaction record databases, transaction records on the main network of blockchain technology will be recorded on all block nodes (i.e. all data blocks) in the main network, which is the so-called decentralization principle. That is to say, in blockchain technology, there is no central database to store all records, Every block on the chain has the transaction data of the whole chain, that is to say, every data block is the center
another feature of blockchain technology is that it can't be tampered with, because every transaction on the blockchain will be recorded in all blocks on the chain, so no single data block can change the record. Even if you change it, all other data blocks will also record real data, and each group of data can be traced back to the first time
because of these characteristics of blockchain technology, after the advent of bitcoin, blockchain has also attracted a lot of attention, and many people also began to want to use blockchain technology to make a centerless, traceable and unchangeable data, so as to ensure the credibility of the data
however, blockchain technology also faces many problems, such as single application scenario, non modifiable original error data, non recoverable currency stolen by hackers, etc.
broadly speaking, blockchain technology is a new distributed infrastructure and computing paradigm, which uses blockchain data structure to verify and store data, uses distributed node consensus algorithm to generate and update data, uses cryptography to ensure the security of data transmission and access, and uses intelligent contract composed of automated script code to program and operate data
as we all know, blockchain technology is an independent underlying architecture from bitcoin system. From the perspective of architecture model, it is a set of distributed ledger, which is naturally used for bookkeeping
in the blockchain technology, if you want to generate accounting records, you need to have the transaction and flow of funds. Therefore, in the initial blockchain technology, the cryptocurrency corresponding to the main network is used as circulation goods, and the circulation transaction records of cryptocurrency between the accounts of the main network of the blockchain will be recorded on the main network
different from other transaction record databases, transaction records on the main network of blockchain technology will be recorded on all block nodes (i.e. all data blocks) in the main network, which is the so-called decentralization principle. That is to say, in blockchain technology, there is no central database to store all records, Every block on the chain has the transaction data of the whole chain, that is to say, every data block is the center
another feature of blockchain technology is that it can't be tampered with, because every transaction on the blockchain will be recorded in all blocks on the chain, so no single data block can change the record. Even if you change it, all other data blocks will also record real data, and each group of data can be traced back to the first time
because of these characteristics of blockchain technology, after the advent of bitcoin, blockchain has also attracted a lot of attention, and many people also began to want to use blockchain technology to make a centerless, traceable and unchangeable data, so as to ensure the credibility of the data
however, blockchain technology also faces many problems, such as single application scenario, non modifiable original error data, non recoverable currency stolen by hackers, etc.
2. 1. The so-called blockchain technology, also known as the distributed ledger technology, is an Internet database technology, which is characterized by decentralization, openness and transparency, so that everyone can participate in database records
2. Blockchain is an innovative application mode of distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm and other computer technologies in the Internet era. In recent years, the development and application of blockchain is of great significance to technological innovation and instrial revolution. This experience introces the relevant knowledge of blockchain technology
3. Blockchain is a distributed ledger, which can contain financial and / or non-financial transactions. It can be replicated (distributed) on multiple systems in almost real time through peer-to-peer network. Each participant "owns" the same ledger and gets updated when adding any transaction. Each participant helps to determine the inherent "invariance" of all existing records, Using cryptography and digital signature to prove identity, authenticity and enforce read / write access, there is a mechanism that makes it difficult to change history, and it is easy to detect someone trying to change it.
2. Blockchain is an innovative application mode of distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm and other computer technologies in the Internet era. In recent years, the development and application of blockchain is of great significance to technological innovation and instrial revolution. This experience introces the relevant knowledge of blockchain technology
3. Blockchain is a distributed ledger, which can contain financial and / or non-financial transactions. It can be replicated (distributed) on multiple systems in almost real time through peer-to-peer network. Each participant "owns" the same ledger and gets updated when adding any transaction. Each participant helps to determine the inherent "invariance" of all existing records, Using cryptography and digital signature to prove identity, authenticity and enforce read / write access, there is a mechanism that makes it difficult to change history, and it is easy to detect someone trying to change it.
3. Introction to seven core technologies of blockchain operation on January 15, 2018
1. Blockchain links
as the name suggests, blockchain is a chain composed of blocks. Each block is divided into block head and block body (including transaction data). The block head includes the prevhash value (also known as hash value) of the previous block used to realize the block link and the random number (nonce) used to calculate the mining difficulty. The hash value of the previous block is actually the hash value of the head of the previous block, and the random number calculation rule determines which miner can obtain the right to record the block
2. Consensus mechanism
blockchain is accompanied by the birth of bitcoin, which is the basic technology architecture of bitcoin. Blockchain can be understood as an Internet-based decentralized accounting system. A decentralized digital currency system like bitcoin requires the consistency of accounting of honest nodes without a central node, which needs blockchain to complete. Therefore, the core of blockchain technology is a consensus mechanism to reach a consensus on the legitimacy of transactions between indivials without mutual trust without central control
there are four main types of consensus mechanisms in blockchain: pow, POS, dpos and distributed consistency algorithm
3. Unlocking script
script is an important technology to realize automatic verification and contract execution on blockchain. Every output of every transaction does not point to an address in the strict sense, but to a script. A script is like a set of rules that constrain how the receiver can spend the asset locked on the output
the validation of transactions also depends on scripts. At present, it depends on two kinds of scripts: Lock script and unlock script. Locking script is a condition added to the output transaction, which is realized by a script language and located in the output of the transaction. The unlocking script corresponds to the locking script. Only when the conditions required by the locking script are met can the assets corresponding to the script be spent, which is located in the input of the transaction. Many flexible conditions can be expressed by script language. Interpretation script is similar to the "virtual machine" in our programming field, which runs in every node of the blockchain network in a distributed way
4. Transaction rules
blockchain transaction is not only the basic unit of a block, but also the actual effective content recorded by the blockchain. A blockchain transaction can be a transfer, or the deployment of smart contracts and other transactions
as far as bitcoin is concerned, a transaction refers to a single payment transfer. The transaction rules are as follows:
1) the input and output of the transaction cannot be empty
2) for each input of a transaction, if its corresponding utxo output can be found in the current transaction pool, the transaction will be rejected. Because the current transaction pool is the transaction not recorded in the blockchain, and each input of the transaction should come from the confirmed utxo. If it is found in the current trading pool, it is Shuanghua trading
3) for each input in a transaction, the corresponding output must be utxo
4) each input unlocking script must verify the compliance of the transaction together with the corresponding output locking script
5. Transaction priority
the priority of blockchain transaction is determined by the blockchain protocol rules. For bitcoin, the priority of a transaction to be included in a block is determined by the time when the transaction is broadcast to the network and the amount of the transaction. With the increase of transaction broadcast time on the network and the increase of transaction chain age, the priority of transaction will be improved and eventually be included by the block. For Ethereum, the priority of the transaction is also related to the transaction fee that the publisher is willing to pay. The higher the transaction fee that the publisher is willing to pay, the higher the priority that the transaction is included in the block
6. Merkle proof
the original application of Merkle proof is bitcoin, which was described and created by Satoshi Nakamoto in 2009. Bitcoin blockchain uses Merkle proof to store transactions in each block. So that the transaction can not be tampered with, but also easy to verify whether the transaction is included in a specific block
7. RLP
RLP (recursive length prefix) is one of the main encoding methods of object serialization in Ethereum. Its purpose is to encode the sequence of arbitrary nested binary data.
1. Blockchain links
as the name suggests, blockchain is a chain composed of blocks. Each block is divided into block head and block body (including transaction data). The block head includes the prevhash value (also known as hash value) of the previous block used to realize the block link and the random number (nonce) used to calculate the mining difficulty. The hash value of the previous block is actually the hash value of the head of the previous block, and the random number calculation rule determines which miner can obtain the right to record the block
2. Consensus mechanism
blockchain is accompanied by the birth of bitcoin, which is the basic technology architecture of bitcoin. Blockchain can be understood as an Internet-based decentralized accounting system. A decentralized digital currency system like bitcoin requires the consistency of accounting of honest nodes without a central node, which needs blockchain to complete. Therefore, the core of blockchain technology is a consensus mechanism to reach a consensus on the legitimacy of transactions between indivials without mutual trust without central control
there are four main types of consensus mechanisms in blockchain: pow, POS, dpos and distributed consistency algorithm
3. Unlocking script
script is an important technology to realize automatic verification and contract execution on blockchain. Every output of every transaction does not point to an address in the strict sense, but to a script. A script is like a set of rules that constrain how the receiver can spend the asset locked on the output
the validation of transactions also depends on scripts. At present, it depends on two kinds of scripts: Lock script and unlock script. Locking script is a condition added to the output transaction, which is realized by a script language and located in the output of the transaction. The unlocking script corresponds to the locking script. Only when the conditions required by the locking script are met can the assets corresponding to the script be spent, which is located in the input of the transaction. Many flexible conditions can be expressed by script language. Interpretation script is similar to the "virtual machine" in our programming field, which runs in every node of the blockchain network in a distributed way
4. Transaction rules
blockchain transaction is not only the basic unit of a block, but also the actual effective content recorded by the blockchain. A blockchain transaction can be a transfer, or the deployment of smart contracts and other transactions
as far as bitcoin is concerned, a transaction refers to a single payment transfer. The transaction rules are as follows:
1) the input and output of the transaction cannot be empty
2) for each input of a transaction, if its corresponding utxo output can be found in the current transaction pool, the transaction will be rejected. Because the current transaction pool is the transaction not recorded in the blockchain, and each input of the transaction should come from the confirmed utxo. If it is found in the current trading pool, it is Shuanghua trading
3) for each input in a transaction, the corresponding output must be utxo
4) each input unlocking script must verify the compliance of the transaction together with the corresponding output locking script
5. Transaction priority
the priority of blockchain transaction is determined by the blockchain protocol rules. For bitcoin, the priority of a transaction to be included in a block is determined by the time when the transaction is broadcast to the network and the amount of the transaction. With the increase of transaction broadcast time on the network and the increase of transaction chain age, the priority of transaction will be improved and eventually be included by the block. For Ethereum, the priority of the transaction is also related to the transaction fee that the publisher is willing to pay. The higher the transaction fee that the publisher is willing to pay, the higher the priority that the transaction is included in the block
6. Merkle proof
the original application of Merkle proof is bitcoin, which was described and created by Satoshi Nakamoto in 2009. Bitcoin blockchain uses Merkle proof to store transactions in each block. So that the transaction can not be tampered with, but also easy to verify whether the transaction is included in a specific block
7. RLP
RLP (recursive length prefix) is one of the main encoding methods of object serialization in Ethereum. Its purpose is to encode the sequence of arbitrary nested binary data.
4. The following points are the characteristics of the blockchain summarized by jinwowo group:
1 - Decentralization: because the blockchain relies on each node to achieve system maintenance and ensure the authenticity of information transmission, it is based on distributed data storage without centralized management by a certain center, Therefore, the attack and tampering of a node will not affect the healthy operation of the whole network
2-DE Trust: the establishment of a connection between any two nodes does not need to trust each other's identity, and the data exchange between the two sides does not need the basis of mutual trust. Since all nodes in the network can act as "supervisors", there is no need to worry about fraud
3 - extensible: blockchain is an underlying open source technology, on which various kinds of extension, decentralized and distrusted applications can be realized<
4 - anonymization: the two sides of data exchange can be anonymous, and the nodes in the network can exchange data without knowing each other's identity and personal information
5 - Security and reliability: because the activities between any nodes are supervised by the whole network, and the database adopts distributed storage, for hackers, first, they can't disguise and cheat, Second, we can't control the network only by conquering a node.
1 - Decentralization: because the blockchain relies on each node to achieve system maintenance and ensure the authenticity of information transmission, it is based on distributed data storage without centralized management by a certain center, Therefore, the attack and tampering of a node will not affect the healthy operation of the whole network
2-DE Trust: the establishment of a connection between any two nodes does not need to trust each other's identity, and the data exchange between the two sides does not need the basis of mutual trust. Since all nodes in the network can act as "supervisors", there is no need to worry about fraud
3 - extensible: blockchain is an underlying open source technology, on which various kinds of extension, decentralized and distrusted applications can be realized<
4 - anonymization: the two sides of data exchange can be anonymous, and the nodes in the network can exchange data without knowing each other's identity and personal information
5 - Security and reliability: because the activities between any nodes are supervised by the whole network, and the database adopts distributed storage, for hackers, first, they can't disguise and cheat, Second, we can't control the network only by conquering a node.
5. The era of blockchain 1.0 is the era of digital currency, and the technical basis is:
1. Lianzhuang data block structure based on blocks
2. Network wide shared ledger
3. Asymmetric encryption
4. Source code open source
blockchain 2.0 era technical basis:
1. Smart contract; It is an application in the blockchain system. It is a business logic that can run automatically by coding. It usually has its own token and special development language
2. DAPP: it includes the user's applications, including but not limited to various cryptocurrencies, such as Ethereum wallet
3. Virtual machine: used to execute the compiled code of smart contract. Virtual machine is Turing complete
with the application and deepening of blockchain technology, the era of blockchain 3.0 has come. The mode of blockchain cooperation can be seen from behind the operation of all walks of life. Therefore, blockchain will change the way of human life widely and profoundly, so the whole life service will enter the era of blockchain. In the process of Internet development, blockchain + physical instry, blockchain e-commerce and blockchain community operation can be applied to blockchain technology
of course, 3.0 came into being with the development of modern cryptography. Today's applied cryptography is the result of cryptography 20 years ago. Therefore, in order to apply blockchain technology to more participation scenarios, especially in Internet economy and other aspects, more verification is needed to verify whether the existing encryption technology can meet the demand, and more in-depth integration of cryptographic frontier technology and continuous innovation are needed.
1. Lianzhuang data block structure based on blocks
2. Network wide shared ledger
3. Asymmetric encryption
4. Source code open source
blockchain 2.0 era technical basis:
1. Smart contract; It is an application in the blockchain system. It is a business logic that can run automatically by coding. It usually has its own token and special development language
2. DAPP: it includes the user's applications, including but not limited to various cryptocurrencies, such as Ethereum wallet
3. Virtual machine: used to execute the compiled code of smart contract. Virtual machine is Turing complete
with the application and deepening of blockchain technology, the era of blockchain 3.0 has come. The mode of blockchain cooperation can be seen from behind the operation of all walks of life. Therefore, blockchain will change the way of human life widely and profoundly, so the whole life service will enter the era of blockchain. In the process of Internet development, blockchain + physical instry, blockchain e-commerce and blockchain community operation can be applied to blockchain technology
of course, 3.0 came into being with the development of modern cryptography. Today's applied cryptography is the result of cryptography 20 years ago. Therefore, in order to apply blockchain technology to more participation scenarios, especially in Internet economy and other aspects, more verification is needed to verify whether the existing encryption technology can meet the demand, and more in-depth integration of cryptographic frontier technology and continuous innovation are needed.
6. According to the current talent demand in the blockchain field, it can be roughly divided into the following categories:
1. Build a distributed ledger application based on DLT technology to realize the business requirements of customers on DLT. At present, the more famous one in this field is REBO. So what does DLT mean? Just look at what REBO is doing
2. Develop your own application on the existing public chain. At present, most companies are doing this. This category is also characterized by low threshold, high business potential and low risk
3. Companies develop their own public chains, which have the greatest potential in the future, but also have the highest risks and technical difficulties
4. Blockchain ecological infrastructure. For example, mobile wallet, hardware cold wallet, trading platform, blockchain content platform and so on are the blockchain instries with the highest commercial profits at present. Relatively speaking, the threshold is low and the risk is low, but there are many competitors
if we start from technology, what languages and knowledge do we need to learn
for the first class, go language is necessary, because DLT is mainly based on go language, and it also needs to master certain application development ability, because it must be a piece of software rather than a bunch of command-line source programs delivered to customers. For the second category, the mainstream of smart contract is the solidness language of Ethereum smart contract, so if you want to enter the second category of enterprises, you need to start with Ethereum. The third type of public chain development, the mainstream is C + + and go, but there are also many famous projects are implemented in trust, such as: Facebook's Libra, fire coin's nervos and so on. In fact, the fourth category has little to do with blockchain technology, because development such as trading platform does not need blockchain technology
in addition to the above technical hard power, blockchain companies prefer "slash youth", that is, talents who master multi field knowledge at the same time, which can be divided into three categories: finance and blockchain, content operation and blockchain, community operation and blockchain. Among them, the third kind of talents is the rarest, because most technical talents are not good at communication and exchange. However, e to its distributed characteristics, blockchain especially needs the joint efforts of the community to create and maintain a chain
in the end, many people mistakenly think that blockchain is a brand new instry, and that blockchain is totally different from traditional fields. This is actually a big mistake. From what has been written above, you can also find that in the end, blockchain still needs to solve the actual needs in reality. The only difference is that the tools to solve the needs have changed, so don't think that only knowing blockchain can kill all sides, It is very important to have the basic knowledge of the requirement field
the application fields of blockchain include digital currency, token, finance, anti-counterfeiting traceability, privacy protection, supply chain, entertainment, etc. with the popularity of blockchain and bitcoin, many related top domain names have been registered, which has a great impact on the domain name instry.
1. Build a distributed ledger application based on DLT technology to realize the business requirements of customers on DLT. At present, the more famous one in this field is REBO. So what does DLT mean? Just look at what REBO is doing
2. Develop your own application on the existing public chain. At present, most companies are doing this. This category is also characterized by low threshold, high business potential and low risk
3. Companies develop their own public chains, which have the greatest potential in the future, but also have the highest risks and technical difficulties
4. Blockchain ecological infrastructure. For example, mobile wallet, hardware cold wallet, trading platform, blockchain content platform and so on are the blockchain instries with the highest commercial profits at present. Relatively speaking, the threshold is low and the risk is low, but there are many competitors
if we start from technology, what languages and knowledge do we need to learn
for the first class, go language is necessary, because DLT is mainly based on go language, and it also needs to master certain application development ability, because it must be a piece of software rather than a bunch of command-line source programs delivered to customers. For the second category, the mainstream of smart contract is the solidness language of Ethereum smart contract, so if you want to enter the second category of enterprises, you need to start with Ethereum. The third type of public chain development, the mainstream is C + + and go, but there are also many famous projects are implemented in trust, such as: Facebook's Libra, fire coin's nervos and so on. In fact, the fourth category has little to do with blockchain technology, because development such as trading platform does not need blockchain technology
in addition to the above technical hard power, blockchain companies prefer "slash youth", that is, talents who master multi field knowledge at the same time, which can be divided into three categories: finance and blockchain, content operation and blockchain, community operation and blockchain. Among them, the third kind of talents is the rarest, because most technical talents are not good at communication and exchange. However, e to its distributed characteristics, blockchain especially needs the joint efforts of the community to create and maintain a chain
in the end, many people mistakenly think that blockchain is a brand new instry, and that blockchain is totally different from traditional fields. This is actually a big mistake. From what has been written above, you can also find that in the end, blockchain still needs to solve the actual needs in reality. The only difference is that the tools to solve the needs have changed, so don't think that only knowing blockchain can kill all sides, It is very important to have the basic knowledge of the requirement field
the application fields of blockchain include digital currency, token, finance, anti-counterfeiting traceability, privacy protection, supply chain, entertainment, etc. with the popularity of blockchain and bitcoin, many related top domain names have been registered, which has a great impact on the domain name instry.
7. Hello, it is reported that the public platform of SMIC blockchain in Changsha is going to launch blockchain + human resource services recently. We can look forward to how they can do blockchain + human resource applications.
8. Blockchain technology involves a wide range of disciplines and contents, including network communication, data storage, data encryption, consensus mechanism, security mechanism, cryptography and other related contents. Only by comprehensively mastering these knowledge can we better master the blockchain technology. In addition, the most important thing for learning blockchain technology is to use blockchain in practice, and the real purpose of learning technology is to develop applications that are helpful to life and proction. Xuanling technology has been committed to the development of blockchain technology related applications, and has an experienced development team. If you have relevant intention, you can contact the official website.
Hot content