Blockchain technology for minors
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.
From the perspective of technology and architecture, I will tell you my understanding of blockchain in common language
what is blockchain? In a word, blockchain is a storage system. To be more specific, blockchain is a distributed storage system without an administrator and each node has all the data
What are the common storage systems like
as shown in the figure above, the bottom is data, and the top can write data. A space to store data, a software to manage data, provide an interface to write data, this is the storage system. For example, MySQL is the most common storage system
What are the problems of ordinary storage system? There are at least two common problems
the first is the problem of non high availability. There is a dangerous place for data. In technical terms, data is not highly available
The second problem is that there is only one write point. In technical terms, it is a single point of control
How do ordinary storage systems usually solve these two problems
in fact, MySQL can do a master-slave synchronization of al master, master-slave synchronization of al master, two nodes can be written at the same time. If you want to do a multi room multi live data center, in fact, multi room multi live data synchronization. What we should emphasize here is that multi-point writing often leads to the consistency problem of writing conflicts. Take MySQL as an example, suppose that the attribute of a table is self incrementing ID, then the data in the database is 1234 now. If one of the nodes writes and inserts a piece of data, it may become 5, and then these 5 pieces of data are synchronized to another master node, Before synchronization, if another write node inserts a piece of data, a piece of data with self incrementing ID of 5 will be generated. Then, after the generation, synchronize to another node, and the synchronized data will conflict with the two local 5's after it arrives, which will lead to synchronization failure and write consistency conflict. This problem will occur in the case of multi-point writing
how to ensure consistency in multi-point writing
the reform "Swan class" gives you more technical work
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.
The development of blockchain has been booming. What are the application areas of blockchain
at present, the most extensive and successful application of blockchain technology is digital currency represented by bitcoin. In recent years, digital currency has developed rapidly. Due to the characteristics of decentralized credit and frequent transactions, it has high transaction value and can maintain a relatively stable price by developing hedging financial derivatives as quasi super sovereign currency
READ MORE