Position: Home page » Ethereum » The feasibility of Ethereum fragmentation

The feasibility of Ethereum fragmentation

Publish: 2021-05-19 08:41:33
1.

There is an essential difference between Ethereum and bitcoin. What is the difference? Bitcoin defines a set of currency system, while Ethereum focuses on building a main chain (which can be understood as a road) to allow a large number of blockchain applications to run on this road

from this point of view, Ethereum's application scenarios are more extensive, which is why we say that Ethereum marks a simple monetary system in the era of blockchain

1.0, and a transformation to other instries and application scenarios in the era of blockchain 2.0

however, there is no perfect thing in the world. Although Ethereum has expanded the application scope of blockchain in all walks of life and improved the speed of transaction processing, it also has some disputes and doubts

first, the solution to the lack of scalability of Ethereum: slicing technology and lightning network

the bottom design of Ethereum, the biggest problem is that Ethereum has only one chain and no side chain, which means that all programs have to run on this chain equally, consuming resources and causing system congestion. Just like last year's very popular Ethereum game "encryption cat", when this game was very popular, it once caused Ethereum network paralysis

to improve the processing capacity, Ethereum proposes two ways: shard and lightning network. Let's introce these two technologies respectively

(1) fragmentation technology

vitalik buterin, founder of Ethereum, believes that the reason why mainstream blockchain networks such as bitcoin process transactions very slowly is that every miner has to process every transaction in the whole network, which is actually very inefficient. The idea of fragmentation technology is: a transaction does not need to be processed by all nodes in the whole network, as long as some nodes (miners) in the network are allowed to process it. Therefore, Ethereum network is divided into many pieces. At the same time, each piece can handle different transactions. In this way, the network performance will be greatly improved

however, the slicing technology is also controversial. As we all know, the important idea of blockchain technology is decentralization. Only when the whole network witnesses (processes) the same transaction can it have the highest authority. The Ethereum slicing technology is similar to the group witness, not all nodes witness together. In this way, it will lose the absolute "decentralization" attribute, and can only achieve the purpose of high performance by sacrificing certain characteristics of decentralization

(2) lightning network

lightning network uses the way of transaction under the chain. What does that mean? It means: when the participants of lightning network transfer money to each other, they do not need to confirm the transaction through the main chain of Ethereum, but create a payment channel between the participants and complete it under the chain

however, lightning network is not separated from the main chain. Before establishing a payment channel, you need to use the assets on the main chain as collateral to generate a balance proof, which indicates that you can transfer the corresponding balance. In the case that both parties of the transaction hold the balance certificate, both parties can make unlimited number of transfers under the chain through the payment channel

only when the off chain transaction is completed and the assets need to be transferred back to the chain, the balance change information of the main chain account will be registered on the Ethereum main chain, and no matter how many transactions occur ring this period, there will be no record on the main chain

another real benefit of lightning network is that it can save the cost of miners for you. At present, when we trade on the main chain of Ethereum, we need to consume gas and pay for miners. Once we move the transaction to the lower chain, we can save this part of the cost

Of course, lightning network is not perfect. When using the lightning network, the assets on the main chain should be used as collateral; And this part of assets as collateral can not be used before the user completes the transaction under the chain. This also determines that lightning trading is only suitable for small transactions

the above is the problem of insufficient scalability of Ethereum, as well as the two main solutions: fragmentation technology and lightning network

Second, there are loopholes in Ethereum's smart contract and the infamous Dao event

Ethereum's smart contract is very powerful, but there are loopholes in any code. The biggest controversy of Ethereum's smart contract lies in the so-called loopholes, that is, security issues. According to relevant research, 34200 (about 3%) of the nearly 1 million smart contracts based on Ethereum contain security vulnerabilities, which will allow hackers to steal eth, freeze assets or delete contracts, such as the infamous Dao incident

(1) what does Dao mean

before introcing the Dao event, let's first introce what Dao is. Dao is the abbreviation of decentralized

autonomous organization, which can be understood as decentralized autonomous organization. From the perspective of Ethereum, Dao is a kind of contract or a combination of contracts on the blockchain, which is used to replace the government's review and complex intermediate proceres, so as to achieve an efficient and decentralized trust system. Therefore, Dao is not a specific organization, that is to say, there can be many Dao, all kinds of Dao

(2) the infamous Dao event

however, when we talk about Dao now, we basically refer to the Dao event, that is, the infamous hacker attack event we just mentioned. As we know, the English word "the" refers to "the Dao event". The Dao event

refers to "the Dao event", because we just said that Dao is not a specific organization, there can be many Dao, all kinds of Dao

in 2016, slock.it, a German company focusing on "smart locks", launched the Dao project on Ethereum in order to realize decentralized physical exchange (such as apartments and ships). Since April 30, 2016, the financing window has been open for 28 days

unexpectedly, this Dao project is very popular. It raised more than US $100 million in just half a month. By the end of the whole financing period, it raised a total of US $150 million. Therefore, it has become the largest crowdfunding project in history. However, it didn't last long. In June, hackers took advantage of the loopholes in the smart contract to successfully transfer more than 3.6 million Ethernet coins and put them into a Dao sub organization, which has the same structure as the Dao. At that time, the price of Ethernet currency fell directly from more than $20 to less than $13

this event shows that there are loopholes in smart contracts, and once the loopholes are exploited by hackers, the consequences will be very serious. This is why many people criticize Ethereum and say that its smart contract is not smart

to solve this problem, many foreign companies begin to provide code audit services in order to solve the vulnerability problem of smart contract. From a technical point of view, some teams are currently testing smart contracts. Most of these teams are led by professors from Harvard, Stanford and Yale, and some of them have obtained investment from leading institutions

in addition to the problems of insufficient expansibility and loopholes in smart contracts, the controversy over Ethereum lies in the POS consensus mechanism it pursues, that is, the proof of equity mechanism. Under the proof of equity mechanism, if anyone holds more money and holds it for a longer time, he will get more "rights" (interests) and have the opportunity to get bookkeeping power, Bookkeeping can also be rewarded. In this way, it is easy to create the oligarchic advantage of "the stronger the stronger"

Another problem is the chaos of ICO. ICO is a common way to raise funds for blockchain projects, which we can understand as pre-sale. The outbreak of ICO projects on Ethereum has caused illegal activities such as fund allocation and money fraud under the banner of ICO, which has caused security risks to social and financial stability

2.

what is Ethereum:

Ethereum is an innovation based on the application of technologies and concepts in bitcoin to computers. Ethereum itself imitates a lot of bitcoin technology to maintain the computer platform. Blockchain technology is one of them
Ethereum platform can safely run any program users want

advantages of Ethereum over other competitive currencies before Ethereum appeared, some digital currencies imitated bitcoin. However, these projects have their own shortcomings, they can only support one or several specific applications at the same time< However, the reason why Ethereum can surpass the limitations of these projects in the past is because of the core idea of Ethereum

what Ethereum wants to implement is a blockchain protocol with built-in programming language. Since it supports programming language, in theory, any blockchain application can be defined with this language, and then run on Ethereum's blockchain protocol as an application

The design of Ethereum is very flexible and adaptable

Ethereum target sets the advantages of blockchain technology, in order to add the advantages of blockchain, such as decentralization, openness and security, to almost all computing fields

blockchain applications of Ethereum

Ethereum has many blockchain applications, such as digital applications of gold and stocks, financial derivatives applications, DNS and digital authentication, etc

Ethereum has achieved more than 100 blockchain applications by many start-ups

Ethereum has also been closely watched by some financial institutions, banking consortia (such as R3), as well as large companies like Samsung, Deloitte, RWE and IBM. As a result, a number of blockchain applications such as simplified and automated financial transactions, merchant loyalty index tracking, and gift cards designed to achieve decentralization of electronic transactions have emerged

the relationship between Ethereum and blockchain:

Ethereum is a programmable blockchain

Ethereum does not give users a series of preset operations (such as bitcoin transaction), but allows users to create complex operations according to their own wishes

in this way, Ethereum can be used as a platform for various types of decentralized blockchain applications, including but not limited to cryptocurrency

like other blockchains, Ethereum also has a peer-to-peer network protocol. Ethereum blockchain database is maintained and updated by many nodes connected to the network. Each network node runs the Ethereum simulator and executes the same instructions. Therefore, people sometimes call Ethereum "world computer"

3. Ethereum blockchain has exposed three major problems, and its founder vitalik buterin has been unable to interpret them for a long time. The first is the low performance and TPS of Ethereum blockchain as a whole; The second is that resources are not isolated. The event of cryptokitties virtual cat once occupied 20% of the traffic of the whole Ethereum, which directly caused Ethereum network users unable to carry out timely transactions, which is the biggest pain point of resources not isolated; The third problem lies in the embodiment of Ethereum's governance structure. As a decentralized distributed ledger, the founder team of Ethereum has dominated its network development in the past. The over centralized governance mode has led to the bifurcation of eth, etc and ETF in Ethereum, and the Ethereum community is now in a state of fragmented governance. In the view of Ma Haobo, founder and CEO of "aelf", all kinds of disadvantages of Ethereum are unacceptable. Therefore, the positioning of "aelf" is born for the next generation of decentralized underlying computing platform of Ethereum, which focuses on solving the problems of insufficient performance, non isolation of resources and governance structure of Ethereum.
4. GBK
Ethereum is an open source public blockchain platform with smart contract function, which provides decentralized virtual machine (Ethereum virtual machine) to process point-to-point contract through its special cryptocurrency Ethereum. The concept of Ethereum was first inspired by bitcoin by vitalik buterin, a programmer, between 2013 and 2014, and now it's 2.0. Ethereum 2.0 is also something that the whole coin circle is waiting for. In order to celebrate the birth of the genesis block of eth2.0 on December 1, chinacoin officially supports the exchange of eth2.0 verification nodes at 17:00 Hong Kong time on November 20, 2020. It will invest its own eth in the verification node mining and exchange qeth to obtain liquidity. It will participate in the mining as soon as the exchange is received. Now it will give back to the user's welfare. The top 1000 eth enjoy the over exchange of qeth according to the ratio of 1:1.02. Compared with eth2.0, qeth has too many advantages: liquidity is guaranteed, users do not need to bear the technical cost, the threshold of participation does not need 32 eth, as low as 0.1eth, nodes are maintained by the platform, and the revenue is distributed according to eth2.0< br /> < br /> < br /> 
5. Ethereum is not a kind of currency, but a decentralized intelligent protocol. It can be understood as a huge global account book. The logic of this intelligent protocol does not need a specific server to support its daily operation. Instead, it is the protocol terms given by the executors before entering among the scattered users. This is an application evolved from decentralization
compared with bitcoin, we can find that Ethereum is more difficult to develop a new encryption technology than bitcoin. This breakthrough has greatly reced the development cost and time for developers who apply blockchain technology. The emergence of Ethereum once again reiterated the need to split the center, as well as the feasibility and advantages of decentralized distributed applications, to the existing economic market, the financial sector a new direction of development and throw to the society a new entrepreneurial ideas and opportunities.
6. At 5 o'clock this morning, when we were still sleeping, bitcoin rose sharply to US $5300, accompanied by the rapid rise of the leading currencies. After the rapid rise, bitcoin fell sharply. When it fell to US $4700, it quickly returned to US $4900-5000 and stabilized, then the leading currencies also followed bitcoin.
7.

It does not belong to MLM

Ethereum is an open source public blockchain platform with smart contract function, which provides decentralized virtual machine (Ethereum virtual machine) to process point-to-point contract through its special cryptocurrency Ethereum

the concept of Ethereum was first proposed by vitalik buterin, a programmer, from 2013 to 2014, inspired by bitcoin, to the effect of "next generation cryptocurrency and decentralized application platform", and began to develop through crowdfunding in 2014. The market value of Ethernet currency is second only to bitcoin, and it is the second largest encrypted digital currency in the world

extended data

bitcoin has created the first decentralized cryptocurrency, and has fully tested the feasibility and security of blockchain technology in more than five years. In fact, bitcoin's blockchain is a set of distributed database. If a symbol bitcoin is added into it and a set of protocol is specified, the symbol can be transferred safely on the database without trusting a third party. The combination of these features perfectly constructs a currency transmission system bitcoin network

however, bitcoin is not perfect, and the scalability of the protocol is a deficiency. For example, there is only one symbol in the bitcoin Network - bitcoin, and users can't customize other symbols. These symbols can represent the company's stocks or debt certificates, which will lose some functions

In addition, a stack based scripting language is used in bitcoin protocol. Although this language has some flexibility to realize functions such as multi signature, it is not enough to build more advanced applications, such as decentralized exchanges. Ethereum is designed to solve the problem of insufficient scalability of bitcoin

8. I plan to start a series to talk about architecture. My previous experience is mainly in the area of Internet architecture. Recently, I am sorting out and analyzing the architecture of bitcoin, Ethereum and EOS, so I am going to write a series of articles to talk about the understanding of Internet architecture and blockchain architecture. It will be divided into four articles: 1. Internet proct architecture, 2. Bitcoin architecture analysis, 3. Ethereum architecture analysis, 4. EOS architecture analysis
there is no central server in Ethereum. Instead, there are many equal nodes connected by P2P protocol, which store all the data in many nodes. When a user initiates a transaction, the transaction will be broadcast out through P2P protocol. The miner node verifies, packages and further broadcasts the transaction to the whole network. After confirmation in the blockchain, the operation is considered to be unchangeable
in the articles on blockchain on the Internet, the two words distributed and decentralized are mentioned, sometimes slightly different, sometimes mixed. The author thinks that if we want to distinguish accurately, the distributed system emphasizes that multiple components work together by sending messages, and the decentralized system emphasizes that there is no central node to control the operation of the whole system. Therefore, we think that Ethereum is both decentralized and distributed, or running a decentralized program on a distributed platform.
9.

in front of the article: the video version is slightly different from the text version. If you want to see my affectionate interpretation, please see the video version (meow understands blockchain phase 22 | sharding: Ethereum is too slow, "disk" him!), The logic of thinking is strange. Please see the extended version

recently, Ethereum has shown an overwhelming positive trend e to the Constantinople upgrade, while Ethereum's upgrade road is like upgrading and fighting monsters, falling into rabbithole. No one knows how deep the hole is. Since it is a long way to go, it is of vital importance to make every step well and accurately. After overcoming this difficulty, Ethereum's next technical difficulty, sharding fragmentation, has been put on the table again. This issue of "meow understands blockchain" will take you into sharding, the magic weapon that makes Ethereum fast

what is sharding

slicing technology is not a new concept. At first, it is an optimization scheme for large central database. Specifically, it divides the data in large database into many shards according to certain rules, and then stores these data in different servers to rece the data access pressure of each server, So as to improve the performance of the whole database system

let's take a small popular example:

for example, meituan, Didi taxi and other software that we often use can be divided according to the "city". Because the data of different cities do not need to communicate, the data of different cities can be stored in different databases, so that the database server can be deployed to the nearest node from the corresponding city, Can also improve the speed of access, why not do it

from the above examples, we should have a preliminary understanding of the concept of fragmentation. What about fragmentation in blockchain scenarios

taking Ethereum fragmentation as an example, in the original single chain system, the overall performance of the public chain depends on the performance of a single node. After fragmentation, each node only needs to undertake the work of the whole network, and each fragmentation works in parallel. According to vitalik, each shard is like a separate galaxy, and each fragmentation is like an independent universe, In this way, the efficiency will be improved naturally! Originally, the total network TPS of Ethereum chain was about 20. Now, if it is increased to 100 pieces, the total network TPS can be increased to 2000. Similarly, the total network capacity will be increased to 100 times of the original

"each node only needs to undertake part of the work of the whole network", which will lead to several major problems. 1. How to determine which piece of work this node is responsible for? 2. Which transactions should be classified into which segments? 3. Does each node only need to store its own transaction information (ledger)

according to the implementation of the above problems, we can divide the fragmentation into three types: network fragmentation, transaction fragmentation and state fragmentation

Network fragmentation: how to divide the nodes of the whole network into different partitions

transaction segmentation: how to divide the whole network transactions into different segments

State fragmentation: how to make each node only maintain the account book in its own fragmentation without affecting the security of the whole system

the difference and connection between main chain and fragmentation chain

we have understood the types of fragmentation, so what's the difference between main chain and shard chain

turn left | turn right

the realization of Ethereum fragmentation is a long process. Even vitalik himself said that it will be graally realized by stages. We'd better look forward to whether fragmentation can move from theory to practice

10.

The core of Ethereum 2.0 upgrade is Ethereum 2.0 fragmentation and POS consensus mechanism. The adoption of POS consensus mechanism is to improve the energy efficiency of Ethereum protocol and increase the security of Ethereum blockchain. Ethereum 2.0 is partitioned, so that the Ethereum chain no longer needs to process each transaction on the chain through each node

in the fragmentation system, each node only needs to process about 1% of the transactions or less, which greatly improves the efficiency of the blockchain. After the implementation of eth2.0, not only the network performance has been greatly improved, but also investors can rece the investment in heavy assets (+ slf0037). The implementation of consensus protocol Casper and fragmentation technology has made great changes to the underlying protocol of the network, and further promoted the development of blockchain expansion technology, and continuously reached the commercial standard. As of 16:00 on January 7, 2021, more than 2.3 million eth have been locked in the network, accounting for 2% of the total supply of Ethereum. However, this is still only the first phase of the update. According to official information, uniswap V3 has been deployed to the Ethereum main network. According to the official article, uniswap V3 is the most powerful version of the agreement so far. Centralized liquidity provides unprecedented capital efficiency for liquidity providers, better execution for traders, and the core infrastructure of decentralized finance. As far as Ethereum's roadmap is concerned, V Shen said that as the merger date approaches, many aspects of the roadmap are becoming more and more feasible. It is optimistic that the upgrade will be completed by the end of this year. After the merger, the execution chain will run within the consensus chain, and each beacon chain block will include a block from the execution chain. He also said that the merger requires a lot of complex technologies to make the whole process as simple as possible. For users, clients, developers and smart contracts, the merger will be smoother and users need not worry too much. At present, many centralized exchanges, decentralized exchanges, decentralized pledge agreements and basic service providers have entered the stacking track of Ethereum 2.0. It is not difficult to imagine that more service providers will emerge in the future, and the Ethereum 2.0 stacking plate will also become the standard configuration of exchanges and wallets. How long can we dig the pow chain of eth 1.0? There is no clear answer. But it is certain that before Ethereum is completely transformed from POW to POS, Ethereum foundation must take a long time to prove that the POS chain is safe. Only in this way can all developers and users safely complete the switch, so that the entire ecosystem worth more than 100 billion US dollars can truly and completely run on the beacon chain

no one knows how long it will take to complete the project, which is a big unknown, and these unknowns may be a great resistance to the transformation of Ethereum 2.0. Therefore, we are optimistic that the pow chain can continue to dig for at least two to three years

the Xueshuo innovation blockchain Technology Workstation of Lianqiao ecation online is the only approved "blockchain Technology Specialty" pilot workstation of "smart learning workshop 2020 Xueshuo innovation workstation" launched by the school planning, construction and development center of the Ministry of ecation of China. Based on providing diversified growth paths for students, the professional station promotes the reform of the training mode of the combination of professional degree research, proction, learning and research, and constructs the applied and compound talent training system

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