Position: Home page » Blockchain » Blockchain routing

Blockchain routing

Publish: 2021-04-18 07:54:40
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.
2.

Seeing some answers to the debate on the definition of blockchain, I suddenly realize that my answer to this explanation principle has always been directed at bitcoin. There is no specific and unique answer in the instry between the definition of blockchain. Here I first summarize the characteristics of "blockchain" according to the papers I read:

1; Hash chain & quot There are several nodes participating in the system operation (distributed)

3. Reach a consensus on the consistency of basic data (consensus agreement / algorithm) through a certain protocol or algorithm

since bitcoin is currently one of the most typical and influential applications of blockchain, it will be much easier to understand how bitcoin uses blockchain before understanding other forms of blockchain applications

3. 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.
4. The general classification of Chongqing jinwowo analysis blockchain technology is as follows:
1 - Open blockchain
2 - Collaborative blockchain
3 - private blockchain.
5. A new resolution initiated by representative Adam kinzinger, a Republican from Indiana, has been submitted to the US House of Representatives, calling on the government to formulate national policies on emerging technologies, including digital currency and blockchain technology
the resolution calls on the idea of bitcoin, but does not directly mention its name. Instead, it calls it "alternative illegal currency". Blockchain technology is the key point, which points out that this technology has the potential to "fundamentally change" the way trust and security are built on online transactions
but in fact, the United States has not taken action to formulate this rule. However, there is a global blockchain alliance R3 in the process of formulating the standard for the use of blockchain. Of course, blockchain is just a technology that can be used by any enterprise. In China, there is a project called decent, which is more avant-garde. It uses blockchain technology to build a decentralized content publishing platform, but it may encounter some problems in China.
6. VAT invoice is also a kind of invoice. Enterprises with the qualification of general VAT taxpayer can apply to the competent state tax department for purchasing VAT invoice and issue it through the anti-counterfeiting tax control system. Enterprises with the qualification of general VAT taxpayer can dect vat by VAT invoice. Special invoice is the abbreviation of "VAT special invoice". An invoice issued for the sale of goods subject to VAT. After the implementation of the Provisional Regulations of the people's Republic of China on value added tax, in order to ensure the implementation of the tax dection system of value-added tax which belongs to extra price tax, it is printed and distributed for the use of enterprises. When taxpayers sell goods or taxable services, they shall issue special VAT invoices to the purchasers, indicating the sales amount and output tax amount respectively. The use of special invoice as dection voucher is limited to the general taxpayers who are both VAT buyers and sellers.
7. Mine pool refers to:
as the computing level of the whole bitcoin network continues to rise exponentially, a single device or a small amount of computing power can not get the block reward provided by bitcoin network
after the computing power of the whole network has been improved to a certain extent, the low probability of getting rewards has prompted some geeks on "bitcoin talk" to develop a method that can combine a small amount of computing power and operate jointly. The website established in this way is called "mine pool"
extended data:
the existence of the mine pool reces the difficulty of mining bitcoin and other virtual digital currencies, reces the threshold of mining, and truly realizes the concept of bitcoin mining that everyone can participate in
but its disadvantages are also very obvious, because computing power is connected to the mine pool. As a mine pool, it will have a huge amount of computing power resources. In the bitcoin world, computing power represents the bookkeeping right, and computing power is everything. If the computing power of a single mine pool reaches more than 50%, it will be easy to launch 51% attacks on bitcoin and other similar virtual digital currencies, The consequences are very terrible:
the mine pool can make the mine pool with 49% of the remaining computing power have no harvest, instantly quit the competition and go bankrupt. The mine pool's computing power exceeds 50%. If 51% attack is launched, it will easily occupy all the effective computing power of the whole network
source of reference: network mine pool
8. There's a parent-child Club online. The parent-child club has a special CCO teacher to carry out activities and play with the children. Parents can play their own games and pick up their children on time. The activities of parent-child club are divided into two age groups: 4-6 years old and 6-10 years old. The corresponding activities of each age group are different and are designed according to the growth and development of children. And there are seven different theme activities seven days a week, no matter when you come to play
the parent-child Club usually has two activities in the morning and afternoon. 15 minutes before the start of each activity, parents can take their children to sign up on the spot and give them a simple experience to ensure that they are healthy and play together. Then parents can join the parent-child wechat group and give their children to CCO teacher, which will liberate them. However, they should check the communication in the parent-child group in time, Don't miss the pick-up time
on the national day, Wucun also has seven consecutive days of "riverside party", including band performance, games, dance, performance show, and theme show of Yueju Opera. After dinner every night, you can go to riverside bar at 19:30 and have a carnival together.
9. 1. Data blockchain is an important concept in the bitcoin financial system. It records the transaction data of the whole bitcoin network, and these data are shared by all bitcoin nodes. Through the data block, we can query the history of each bitcoin transaction. 2. Example: A, B, C three people, a and B all funds are kept by C. Moreover, each capital transaction should be recorded by C. Now suppose that Party A and Party B each have one million yuan in their custody. Then: if Party A spends 80000 yuan to Party B, then Party C subtracts 80000 yuan from the account book and increases 80000 yuan from the account book. If Party B returns 50000 yuan to Party A, Party C will add 50000 yuan to Party A's account book and subtract 50000 yuan from Party B's account book. If Party A pays 50000 yuan to Party B, then Party C subtracts 50000 yuan from the account book and adds 50000 yuan to the account book. 3. The function of data blockchain is similar to that of C's account book. It records the ownership of bitcoin and the transaction of bitcoin. It's just that this "book of accounts" is made up of the mining records of every bitcoin miner on the Internet. If a bitcoin transaction is confirmed by the data blockchain, the relevant information will be recorded in the data blockchain. Bitcoin's "account book" is called data blockchain. All the data blockchains on the network constitute the distributed network database system of bitcoin. 4. The essence of data blockchain technology is a decentralized and distributed data storage, transmission and proof method. It replaces the dependence of the Internet on the central server with data blocks, so that all data changes or transactions are recorded on a cloud system. In theory, it realizes the self proof of data in data transmission, This kind of point-to-point verification will proce a "basic protocol", which is a new form of distributed artificial intelligence. It will establish a new interface and sharing interface between human brain intelligence and machine intelligence.
Hot content
Inn digger Publish: 2021-05-29 20:04:36 Views: 341
Purchase of virtual currency in trust contract dispute Publish: 2021-05-29 20:04:33 Views: 942
Blockchain trust machine Publish: 2021-05-29 20:04:26 Views: 720
Brief introduction of ant mine Publish: 2021-05-29 20:04:25 Views: 848
Will digital currency open in November Publish: 2021-05-29 19:56:16 Views: 861
Global digital currency asset exchange Publish: 2021-05-29 19:54:29 Views: 603
Mining chip machine S11 Publish: 2021-05-29 19:54:26 Views: 945
Ethereum algorithm Sha3 Publish: 2021-05-29 19:52:40 Views: 643
Talking about blockchain is not reliable Publish: 2021-05-29 19:52:26 Views: 754
Mining machine node query Publish: 2021-05-29 19:36:37 Views: 750