Position: Home page » Blockchain » What technologies does blockchain mainly rely on
What technologies does blockchain mainly rely on
Publish: 2021-05-12 03:21:34
1. 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.
2. The core advantage of blockchain technology is decentralization. It can realize point-to-point transaction, coordination and cooperation based on decentralized credit in a distributed system without mutual trust by means of data encryption, time stamp, distributed consensus and economic incentive, so as to solve the common high cost, low cost and low cost of centralized institutions Low efficiency and data storage insecurity provide solutions
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
taking the tourism instry as an example, blockchain applications mainly focus on tourism travel, tourism community reviews, digital identity management, credit consumption management, tracking pilot's professional certificate and qualification, loyalty plan of hotels and airlines, reservation management and consumption points management. In addition, blockchain also has applications in finance, games, entertainment and other fields.
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
taking the tourism instry as an example, blockchain applications mainly focus on tourism travel, tourism community reviews, digital identity management, credit consumption management, tracking pilot's professional certificate and qualification, loyalty plan of hotels and airlines, reservation management and consumption points management. In addition, blockchain also has applications in finance, games, entertainment and other fields.
3. "Blockchain is a shared distributed database technology, and its advantages are mainly manifested in three aspects: distributed decentralization, no need to trust the system, tamper proof and encryption security."
first, the meaning of blockchain technology
blockchain technology is a kind of technology that uses decentralized consensus mechanism to maintain a complete, distributed and tamper proof ledger database. It can enable the participants in the blockchain to realize a unified ledger system without establishing a trust relationship. The block is a public account book, which needs multi-point maintenance; Chain is covered with timestamps, which can not be forged. Blockchain is essentially a technology that focuses on security and credibility rather than efficiency
at present, there is a database behind all systems, that is, a large account book. So it's very important who keeps this account book. Now, whose system is who will keep accounts, and the bank accounts are the records of each bank, and Alipay's account is Ali. But now in the blockchain system, everyone in the system can have the opportunity to participate in bookkeeping. If there are new transaction data changes in a certain period of time, everyone in the system can make bookkeeping. The system will judge the fastest and best bookkeeper in this period, write the recorded content into the account book, and send the content of the account book to all other people in the system for backup. In this way, everyone in the system has a complete account book
as a result, the data becomes very secure. Tamperers need to modify more than half of the system node data at the same time to truly tamper with the data. The cost of such tampering is so high that it is almost impossible. For example, bitcoin has been running for more than seven years, and countless hackers around the world have tried to attack bitcoin, but so far there have been no trading errors. It can be considered that bitcoin blockchain has been proved to be a safe and reliable system. Therefore, it can be considered that blockchain technology is a way for the whole people to participate in bookkeeping, and what it will bring is the innovation of bookkeeping.
first, the meaning of blockchain technology
blockchain technology is a kind of technology that uses decentralized consensus mechanism to maintain a complete, distributed and tamper proof ledger database. It can enable the participants in the blockchain to realize a unified ledger system without establishing a trust relationship. The block is a public account book, which needs multi-point maintenance; Chain is covered with timestamps, which can not be forged. Blockchain is essentially a technology that focuses on security and credibility rather than efficiency
at present, there is a database behind all systems, that is, a large account book. So it's very important who keeps this account book. Now, whose system is who will keep accounts, and the bank accounts are the records of each bank, and Alipay's account is Ali. But now in the blockchain system, everyone in the system can have the opportunity to participate in bookkeeping. If there are new transaction data changes in a certain period of time, everyone in the system can make bookkeeping. The system will judge the fastest and best bookkeeper in this period, write the recorded content into the account book, and send the content of the account book to all other people in the system for backup. In this way, everyone in the system has a complete account book
as a result, the data becomes very secure. Tamperers need to modify more than half of the system node data at the same time to truly tamper with the data. The cost of such tampering is so high that it is almost impossible. For example, bitcoin has been running for more than seven years, and countless hackers around the world have tried to attack bitcoin, but so far there have been no trading errors. It can be considered that bitcoin blockchain has been proved to be a safe and reliable system. Therefore, it can be considered that blockchain technology is a way for the whole people to participate in bookkeeping, and what it will bring is the innovation of bookkeeping.
4. Blockchain is the core supporting technology of digital cryptocurrency system represented by bitcoin. The core advantage of blockchain technology is decentralization. It can realize point-to-point transaction, coordination and cooperation based on decentralized credit in a distributed system without mutual trust by means of data encryption, time stamp, distributed consensus and economic incentive, so as to solve the common high cost, low cost and low cost of centralized institutions Low efficiency and data storage insecurity provide solutions
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.
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.
5. The development and application of blockchain technology are not very mature technologies, and many people are still skeptical and wait-and-see. However, those who are optimistic about the development prospect of blockchain technology think that blockchain is a subversive technology, but no matter what, there will be actions if there are ideas. Let's see the progress and application of blockchain technology in various countries
at present, China's blockchain instry mainly focuses on computing infrastructure, radiates digital currency, and derives to the penetration process of blockchain application. Infrastructure includes chip miner, mine pool and cloud computing power. Digital currency, wallet and exchange constitute the monetary system. Asset authentication, financial services and charity form a rich application ecology. From the development trend, the mining machine has experienced CPU, GPU, FPGA, until now through ASIC chips to customize mining, we can see from the mining machine calculation force curve that the mining machine calculation force has been in a soaring trend.
at present, China's blockchain instry mainly focuses on computing infrastructure, radiates digital currency, and derives to the penetration process of blockchain application. Infrastructure includes chip miner, mine pool and cloud computing power. Digital currency, wallet and exchange constitute the monetary system. Asset authentication, financial services and charity form a rich application ecology. From the development trend, the mining machine has experienced CPU, GPU, FPGA, until now through ASIC chips to customize mining, we can see from the mining machine calculation force curve that the mining machine calculation force has been in a soaring trend.
6. Take a look at which clan you belong to. Each clan digs different mines in Gao'an. However, mining in Gao'an can not meet the demand of monthly cards. Therefore, it is suggested that LZ join the 00 Legion as soon as possible to have safe and efficient mining sites as well as mining bonus.
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 is an important concept of bitcoin. According to the 2014-2016 global bitcoin Development Research Report released by fire coin and Internet Finance Laboratory of Wukou School of finance of Tsinghua University and Sina Technology, blockchain is the underlying technology and infrastructure of bitcoin. In essence, it is a decentralized database, as well as 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
in a narrow sense, blockchain is a kind of chain data structure that combines data blocks in chronological order in a sequential way, and it can not be tampered with and forged by cryptography. In a broad sense, 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
domestic blockchain application platforms include digital currency crowdfunding platform, asset custody system based on blockchain technology, which is jointly developed by coin Ying China, China Post and IBM.
in a narrow sense, blockchain is a kind of chain data structure that combines data blocks in chronological order in a sequential way, and it can not be tampered with and forged by cryptography. In a broad sense, 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
domestic blockchain application platforms include digital currency crowdfunding platform, asset custody system based on blockchain technology, which is jointly developed by coin Ying China, China Post and IBM.
Hot content
