Position: Home page » Ethereum » Ethereum performance book

Ethereum performance book

Publish: 2021-04-19 00:59:23
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. 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.
3. In fact, the rise and fall of digital currency is a normal situation. The key is to see whether you are optimistic about its long-term value. Relatively speaking, if the long-term value is worth investing in, then the short-term decline can be ignored. At the same time, if you don't know much about digital currency users, it is recommended to choose a reliable and good platform for investment. The investment period needs more than six years, Word of mouth should always be good, you can take a look at AEX, fire coin these two, but also more reliable, you can also understand their own network first
4. When I first answered this question, it was on the 70th day of the crowdfunding period of EOS (a crowdfunding day of EOS is 23 hours). At that time, there was a lot of sadness under this answer, because it had dropped from the high of $3 in the initial crowdfunding period to nearly $0.50. When I started talking, there was little attention. In the next two months, the subscription price of EOS has been hovering around this position. If we follow up the subscription, one eth can get about 500 EOS, then the revenue should exceed most of the participants

reviewing the financing of EOS, we not only set many records of ICO, but also a significant milestone in the whole history of open market financing. During the 350 day subscription cycle, 200000 people participated in ICO, accumulating 7.2 million ether coins. According to the market price of the day, the total amount reached US $4.3 billion, which is close to the total IPO amount of Google (US $2.7 billion) and twitter (US $2.1 billion). It is the largest ICO in history so far. It's very worthwhile to make a comprehensive summary. I very much hope that what I write can penetrate the surface of the facts, catch the essence hidden behind, and become a part of historical records

EOS's ICO uses Ethereum's smart contract to complete the automatic subscription and allocation of funds. There is no middleman, and there is no role of investment bank and underwriter of traditional securities listing. This is a primary market. The total number of EOS coins is 1 billion, of which 900 million are distributed to subscribers and 100 million are reserved by block.one. All the funds obtained from the subscription belong to block.one company. Meanwhile, according to the subscription agreement, these funds directly become the profits of the company, and there is no other responsibility and obligation relationship with the subscribers, nor the responsibility and obligation to maintain and develop the EOS software and network. The main network of EOS will be launched by the loosely organized technology forum community, The network operation funds are automatically generated by the code rules, and new EOS tokens are issued to pay to the block procer nodes

in the process of ICO, the secondary market (exchange) is fully opened at the same time. After the completion of the subscription in the primary market, the general financing will enter the secondary market for a period of time. However, the financing cycle is as long as 350 days. The obtained Ethereum EOS token can enter the secondary market for circulation on the same day, resulting in a large number of turnover transactions, The prices of the two markets fluctuated simultaneously

after the end of ICO, the total market value of EOS was US $11 billion, ranking fifth in the list of digital currencies. BCH (US $17 billion), which is closer to fourth place, is more than twice as big as ripple (US $24 billion), which is third place. Compared with the total funding of $4.3 billion, according to the popular view of ICO, it is only three times as much
5. Ethereum focuses on smart contract and Turing. EOS is based on blockchain operating system. Ethereum and EOS are two top blockchains. At present, there are bottlenecks in blockchain technology and narrow application fields.? LF cluster + cloud server is the most advanced blockchain 3.0 at present. Focusing on different blockchain projects such as public chain, storage chain, Im chain, asset chain and application chain, the advantage lies in resource isolation: each smart contract has its own blockchain, and the governance and development of proxy voting system of token holders has the most development prospect.
6.

1. Power consumption: 243w; Calculation force: 22.4m; Price: 1999 yuan; The number of eth g every 24 hours: 0.015; Revenue generated every 24 hours: 24.8 yuan; Expected payback time: 81.66 days

2. Power consumption of the whole machine: 159w; Calculation force: 24.3m; Price: 1599 yuan; Number of eth g every 24 hours: 0.017; Revenue generated every 24 hours: 27.9 yuan; Expected payback time: 57.31 days

3. Power consumption: 171w; Calculation force: 24.4m; Revenue generated every 24 hours: 27.87 yuan; Expected payback time: 71.73 days

4. Power consumption: 97W; Calculation force: 9.2; Price: 999 yuan; Number of eth g every 24 hours: 0.006; Revenue generated every 24 hours: 10.09 yuan; Expected payback time: 99.1 days

extended data

mining machine risk

1. The problem of electricity charge

in order to make the graphics card full load for a long time, the power consumption will be quite high, and the electricity charge will be higher and higher. Many professional mines at home and abroad are operated in areas with extremely low electricity charges, such as hydropower stations, while more users can only mine at home or in ordinary mines, so the electricity charges are not cheap. Even in a certain residential area in Yunnan, there was a case of crazy mining, which led to a large area trip of the residential area, and the transformer was burned

2. Hardware expenditure

mining is actually a competition of performance and equipment. Some mining machines are composed of more such graphics card arrays. With dozens or even hundreds of graphics cards, the cost of hardware and other costs is very high, and there is a considerable expenditure in mining

3, currency security

the withdrawal of bitcoin requires hundreds of keys, and most people will record this long string of numbers on the computer, but the frequent problems such as hard disk damage will make the key permanently lost, which also leads to the loss of bitcoin

7. Ethereum is a distributed computing platform. It generates an cryptocurrency called ether. Programmers can write "smart contracts" on the Ethereum blockchain, and these Ethereum smart contracts will be executed automatically according to the code

what is Ethereum
Ethereum is often compared with bitcoin, but the situation is different. Bitcoin is a kind of cryptocurrency and distributed payment network, which allows bitcoin to be transferred between users

related: what is bitcoin? How does it work

Ethereum has a bigger goal. As Ethereum says, "Ethereum is a distributed platform running smart contracts.". These smart contracts run on "Ethereum virtual machine", a distributed computing network composed of all devices running Ethernet nodes

"distributed platform" means that anyone can set up and run an Ethereum node just as anyone can run a bitcoin node. Anyone who wants to run "smart contracts" on nodes must pay the operators of these nodes in ether, which is a cryptocurrency related to Ethereum. Therefore, the person running the Ethernet node provides computing power and gets paid in the Ethernet, which is similar to the way that the person running the bitcoin node provides hash power and pays in bitcoin

in other words, although bitcoin is only a blockchain and payment network, Ethereum is a distributed computing network, and its blockchain can be used for many other things. Details are provided in the Ethereum white paper

what is ether
Ethernet is a digital token (or cryptocurrency) related to Ethereum blockchain. In other words, Ethereum is the token and Ethereum is the platform. But now people often use these terms alternately. For example, coinbase allows you to buy Ethereum, which stands for Ethereum

this is technically "altcoin", which actually means a non bitcoin cryptocurrency. Like bitcoin, ether is supported by distributed blockchain - in this case, Ethereum blockchain

developers who want to create applications or Ethereum smart contracts on Ethereum blockchain need Ethernet token to pay for nodes to host it, while users of Ethereum based applications may need Ethernet to pay for services in these applications. People can also sell services outside the Ethereum network and accept Ethernet payments, or they can sell Ethernet tokens in cash - just like bitcoin
8. It's better not to exceed 1100 cores. In fact, 1050 cores are just a little bit more than 1100 cores
because even if we go up, the improvement will not be obvious. The card game is still the card
don't over store the video memory
the core performance of 370 is only average at present
bandwidth is not the bottleneck< In fact, surpassing is just psychological comfort
running points
slightly higher
9. 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.
10.

can Ethereum greatly transform the social economy by increasing its online performance by 500 times? I think it's just a matter of time, because the current social economy has basically taken shape to change it again, I'm afraid it will take more time. Although the performance has been improved, it can only do that. In fact, we can't understand the economy very well. He has always existed in our real society. It can be said that we live in an economic society every day

Some people say, in this case, why can't we do the experiment directly? In fact, it's not as simple as we think if things are really that simple, it's impossible for me to put them off till now. Now the accumulated resentment against him is if we can greatly improve the social economy and transform it. That is the complete success, but if not, it means failure

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