Bitcoin system model
1. Data layer
the data layer is the lowest layer in the six hierarchies of the blockchain. We can understand the data layer as a database, but for the blockchain, this database is a tamperable and distributed database, which is what we call "distributed ledger"
in the data layer, that is, the "distributed ledger", the data information on the blockchain is stored, and the blockchain structure, asymmetric encryption technology, hash algorithm and other technical means of the block are encapsulated to ensure the security of the data in the case of the whole network being open. The specific method is:
in the blockchain network, nodes use consensus algorithm to maintain the consistency of data layer (that is, the distributed database), and use asymmetric encryption and hash algorithm in cryptography to ensure the non usurpation and traceability of the distributed database
This constitutes the bottom data structure of blockchain technology. However, it is not enough to have a distributed database. We also need to let the data information in the database be shared and exchanged. Next, we will introce the upper layer of the data layer - the network layer
Second, network layer
the network system of blockchain is essentially a P2P (point-to-point) network. Point to point means that there is no need for an intermediate link or centralized server to control the system. All resources and services in the network are distributed in the hands of each node, and the transmission of information is also a direct communication between the two nodes. However, it should be noted that P2P
(peer-to-peer) was not invented by Nakamoto, and the blockchain only integrates this technology
therefore, the network layer of blockchain is actually a particularly powerful point-to-point network system. In this system, each node can not only proce information, but also receive information, just like sending e-mail. You can write your own e-mail, and you can also receive the e-mail sent to you by others
in the blockchain network, nodes need to jointly maintain the blockchain system. Every time a node creates a new block, it needs to notify other nodes in the form of broadcast. After receiving the information, other nodes verify the block, and then create a new block on the basis of the block. In this way, the whole network can jointly maintain and update the general ledger of the blockchain system
however, what rules should the whole network follow to maintain and update the general ledger of the blockchain system? This involves the so-called "laws and regulations" (rules), which we will introce next: the consensus layer
Third, consensus layer
in the world of blockchain, consensus simply means that the whole network should maintain and update the general ledger of blockchain system according to a unified and agreed rule, which is similar to the rule of updating data. It is one of the core technologies of blockchain and the governance mechanism of blockchain community to let highly dispersed nodes reach consensus efficiently in the decentralized blockchain network
at present, the mainstream consensus mechanism algorithms include: proof of work of bitcoin (POW), proof of rights and interests of Ethereum (POS), proof of rights and interests of EOS (dpos), etc
we now introce the data layer, network layer and consensus layer. These three layers ensure that there are data, networks and rules for updating data on the network. However, there is no free lunch in the world. How can nodes actively participate in the maintenance of the blockchain system? Here is the incentive layer, which we will introce next: incentive layer< 4. Incentive layer
incentive layer is the so-called mining mechanism, which can be understood as incentive mechanism: you can get as much reward as you contribute to the blockchain system. With this incentive mechanism, the whole network nodes can be encouraged to participate in the data recording and maintenance on the blockchain
mining mechanism and consensus mechanism are actually the same truth. Consensus mechanism can be understood as the company's general rules and regulations, while mining mechanism can be understood as the reward rules for what you do well in the general rules and regulations
just like the consensus mechanism POW of bitcoin, it stipulates that more work pays more. Whoever can find the correct hash value first can get a certain amount of bitcoin reward
and Ethereum's POS stipulates that the older the holder is, the more likely he or she will be rewarded
it should be noted that the incentive layer is generally only available for the public chain, because the public chain must rely on the nodes of the whole network to jointly maintain data, so there must be a set of incentive mechanism to encourage the nodes of the whole network to participate in the construction and maintenance of the blockchain system, so as to ensure the security and reliability of the blockchain system
the blockchain is safe and reliable, and it is not intelligent enough, right? The contract layer we will introce next can make the blockchain system more intelligent
v. contract layer
Contract layer mainly includes various scripts, codes, algorithm mechanisms and smart contracts, which is the basis of block chain programming. What we call "smart contract" is at the contract level
if the bitcoin system is not intelligent enough, the "smart contract" proposed by Ethereum can meet many application scenarios. The principle of the contract layer is to embed the code into the blockchain system, in this way to realize the smart contract that can be customized. In this way, on the blockchain system, once the terms of the smart contract are triggered, the system can automatically execute commands< Finally, the application layer. The application layer is very simple. As the name suggests, it is a variety of application scenarios and cases of blockchain. What we now call "blockchain +" is the so-called application layer. At present, the blockchain applications that have been implemented are mainly various blockchain applications built on
eth, EOS and other public chains. There are more applications of gambling and games, and the real practical applications have not yet appeared.
1. OTC over-the-counter trading
OTC trading system provides information release places for buyers and sellers of digital assets. OTC market is easy to get acquainted with the previous over-the-counter trading mode, there is no fixed trading place, no fixed Trading rules, and no limited trading form
2. Currency transaction
currency transaction is mainly aimed at the transaction between digital assets and digital assets. One currency is used as the pricing unit to purchase other currencies. The currency transaction rule is also to complete the matching transaction according to the price priority and time priority
3. Perpetual contract trading system
perpetual contract is a derivative of futures cooperation. Like futures, it is a contract transaction, not a spot transaction. After you buy, you will not get digital assets. Development of digital asset trading platform, development of perpetual contract trading system
4. Digital asset mortgage system
digital asset mortgage system is a mortgage investment platform for global digital asset players, on which global players can mortgage certain digital assets.
Last week, a paragraph about bitcoin became popular:
bitcoin broke through 5800 US dollars (about 38280 yuan) . When it was issued in 2009, 1 US dollar was equivalent to 1300 bitcoins. What is investment? It has increased by 7.54 million times in 8 years. At that time, you spent 38000 yuan to buy some bitcoin. Now you are the richest man in China, surpassing Xu Jiayin, who has 290 billion yuan
but just one week later, on October 20, bitcoin broke through the $6000 mark. Although it fell later, it reached more than $6000 again on October 21, reaching a maximum of $6147. In terms of $6000, bitcoin prices have risen 7.8 million times in eight years
according to cryptocompare, a bitcoin data provider, e to China's strict supervision of cryptocurrency trading, the global share of bitcoin market has been greatly changed. Now, in the total trading volume of the world's bitcoin exchanges, the trading volume of RMB versus bitcoin accounts for about 1.6%
} the proportion of RMB and yen in global bitcoin trading volume (photo source: cryptocompare)
the reporter noted that in the first half of this year, after Japan's legislation recognized bitcoin as a legal payment method, bitcoin's trading volume in Japan surged, and Japanese regulatory authorities have issued certificates to 11 cryptocurrency exchanges. About 58% of bitcoin trading currently takes place in the Japanese market, and nearly a third of yen to bitcoin trading takes place on the bitflyer exchange in Tokyo. In addition, the U.S. and South Korea markets also account for a large part of global bitcoin transactions - the U.S. dollar and the Korean won account for 27% and 7% of the total bitcoin transactions, respectively< br />
If the digital currency is cheated by hundreds of thousands, you can choose to alarm
according to the cases that have happened all over the country, the police summarized four types of fraud under the banner of digital currency“ The serial scam caused by "brick arbitrage": pull users to "XXX brick arbitrage Chinese discussion group" through chat software. Cheaters send fake tusd or bitusd, and users mistakenly think it is digital currency
If a user finds out that he has been cheated, if he takes the initiative to find the customer service in the group, he will fake the official customer service and use the phishing website to cheat the user's private key. If the user does not contact the fake customer service, some fake victims will take the initiative to contact the victim and use the phishing website to cheat the user's private key, thus causing secondary damage
extended information:
the introction of digital currency being cheated is as follows:
phishing websites or app counterfeiting foreign digital currency official websites: phishing websites counterfeiting official websites almost all contain "one click to cancel transfer" or "enter mnemonic words to cancel transaction", which ince users to enter mnemonic words or private keys
counterfeiting official staff of foreign digital currency: on app or wechat, some lawbreakers change their avatars and information into the style similar to official staff of foreign digital currency, ask users for private keys or provide users with phishing website addresses in the name of helping users solve problems