EtherCAT Ethereum
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 transactionsthe 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 meanbefore 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 stabilityEthereum uses fog computing. The data processing and applications of fog computing are concentrated in the devices at the edge of the network, rather than almost all stored in the cloud, which is an extension concept of cloud computing, which is more in line with the spirit of decentralization of blockchain. If all the storage and operations still stay on the centralized server, then it will not be a real blockchain
recently, the hot "ethereal cat" on Ethereum network has led to the congestion of Ethereum network. The problem is that the TPS concurrency per second of Ethereum is too low. The emergence of ethereumfog with fog computing will break the embarrassing situation of Ethereum network congestion, and add powerful decentralized storage and additional computing power to the chain.
Ethereum uses fog computing. The data processing and applications of fog computing are concentrated in the devices at the edge of the network, rather than almost all stored in the cloud, which is an extension concept of cloud computing, which is more in line with the spirit of decentralization of blockchain. If all the storage and operations still stay on the centralized server, then it will not be a real blockchain
recently, the hot "ethereal cat" on Ethereum network has led to the congestion of Ethereum network. The problem is that the TPS concurrency per second of Ethereum is too low. The emergence of ethereumfog with fog computing will break the embarrassing situation of Ethereum network congestion, and add powerful decentralized storage and additional computing power to the chain
the concept of fog computing may be unfamiliar to many chain friends, but it is the most important aspect of ether fog to attract investors. In fact, I have heard about the concept of fog computing for a long time, and I have always thought that fog computing is the future development direction. When it comes to fog computing, we should start with cloud computing. In fact, the cloud computing we see now evolves from the cluster of independent servers, that is, from the original centralized independent servers to large server clusters, but in the final analysis, it is still a form of centralized computing. Compared with cloud computing, which is the evolution of centralized computing, fog computing is to share computing tasks with various computing power devices around us, and realize the evolution of decentralized and distributed computing, which coincides with the philosophy of blockchain itself.
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
on cryptokitties, you can buy virtual cats. By 17:00 Beijing time on December 6, 2017, the cheapest kitten had reached 0.037eth. Equivalent to 110 yuan per piece
then the kittens have some opinions about the generation. For example, Gen 12 indicates that it is the 12th generation, while Gen 20 indicates that it is the 20th generation. Generally speaking, the smaller the algebra, the more valuable it is. And you can make your kittens slap each other. For example, a Gen 1 kitten and a Gen 1 kitten will give birth to a Gen 2 kitten
you can sell your kittens and their offspring for money
but what if you don't have two kittens? If you only buy one kitten, you can use your kitten to have fun with other people's high-quality kittens. The fee also depends on the kittens (to be honest, this mechanism is very evil, similar to... Borrowing chickens to have children?) The quality of the proct. If your kitten is of high quality, you can also use your kitten to mate other people's kittens, and then you get Ethereum income
but kittens also have special fertility rates
every time a kitten gives birth to one generation, it will have a certain cooling time, and it can't regenerate kittens within the cooling time,
the cooling time is divided into several grades
fast: 1 minute
swift: 2 – 5 minutes
snappy: 10 – 30 minutes
brisk: 1 – 2 minutes
plodding: 4 – 8 minutes
slow: 16 – 24 minutes
sluggi Sh (lazy kitten): 2 – 4 days
catatonic (nervous kitten): 1 week
so the price of your cat also depends on its birth time
and generally speaking, the larger the algebra is, the higher the gen value is, and the slower their growth rate is
but I want to make complaints about it because CryptoKitties is too hot! Ethereum network has a little bit of a crash, the official recommended that every time you buy a cat, the minimum handling charge is 21000. 400000 fuel = 0.01eth. However, it is irritating that I raised the procere to 1.6 million fuel, which is 0.04, and Ethereum still failed. 0.04 Ethereum. That's more than 120 yuan. It's too dark.