Comparison of fabric Ethereum
a total of 22 weeks, divided into five stages,
the first stage is 4 weeks, go language foundation and network concurrency, learning the introctory go language,
the second stage is 4 weeks, go language practical web development, crawler development, cryptography, consensus algorithm, realizing lightweight public chain, learning the website and crawler that can develop golang, Achieve lightweight blockchain
stage 3, 4-week Ethereum source code analysis and smart contract DAPP development, master Ethereum core and smart contract development, as well as blockchain,
stage 4, 4-week super ledger, bitcoin EOS, source code analysis and smart contract practice, master super ledger development, cat bitcoin, bifurcated EOS after learning, As well as DAPP development of smart contract
phase 5, 6-week project practice, five enterprise level projects, and one year of blockchain project experience after learning
from the characteristics of the language itself, go is a very efficient language, which highly supports concurrency. Go language itself pays more attention to distributed system, and concurrency processing is relatively good, such as advertising and search, That kind of high concurrency server
go language advantages:
excellent performance, can be directly compiled into machine code, does not rely on other libraries, go is extremely fast. Its performance is similar to Java or C + +
concurrency is supported at the language level, which is the biggest feature of go. It is born to support concurrency, and go is the concurrency supported in gene, which can make full use of multi-core and make it easy to use concurrency
the built-in runtime supports garbage collection, which is one of the features of dynamic language. Although GC is not perfect at present, it is enough to cope with most of the situations we can encounter, especially GC after go1.1
it's easy to learn. The authors of go language all have the gene of C, so go naturally has the gene of C. There are 25 go keywords, but the expressive ability is very strong. It almost supports most of the features you've seen in other languages: inheritance, overloading, object, etc
rich standard libraries, go has built a large number of libraries, especially the network library, which is also my favorite part< As like as two peas, br / > built-in powerful tools, Go language is built with many tools chain, the best should be gofmt tools, automatic formatting code, make team review become so simple, code format is exactly the same, it is very difficult to think differently.
cross platform compilation and fast compilation. Compared with the sluggish compilation speed of Java and C + +, the fast compilation time of go is a major efficiency advantage
disadvantages of go language:
package management: package management of go language is absolutely not perfect. By default, it has no way to make a specific version of the dependency library, nor can it create replicable builds. In contrast, python, node and Ruby all have better package management systems. However, with the right tools, the package management of go language can also perform well
lack of development framework: go language does not have a major framework, such as Ruby's rails framework, Python's Django framework or PHP's laravel. This is a heated discussion in the go language community, because many people think that we should not start with using frameworks. This is true in many cases, but if you just want to build a simple crud API, it's much easier to use Django / djrf, rails laravel, or Phoenix
exception handling: go language can help developers deal with compilation errors by simply returning errors (or call stack) through functions and expected calling codes. Although this method is effective, it is easy to lose the scope of the error, so it is difficult to provide meaningful error information to users. Error package can solve this problem by allowing us to add context and stack trace to return error
another problem is that we may forget to handle errors. Static analysis tools such as errcheck and megacheck can avoid these errors. Although these solutions are very effective, they may not be the right way.
-
about the variability of blockchain
-
eth, if most people agree to modify the chain, that is, variability, then they can modify the blockchain records and contracts
-
etc, blockchain records and contracts can't be modified, that is, they can't be tampered with
-
here are the advantages and disadvantages of the two methods
The advantage of -
variability is that people can make timely changes to make the right decisions. Therefore, modifying the specification is more practical than finding loopholes
-
non modifiability means that no matter how smart people are at that time, it is impossible not to make mistakes. Therefore, when problems arise in this scheme, it is best to find and solve the loopholes through the existing legal framework
-
differences in development
-
eth, whether it is intentionally arranged or since its birth, the core decisions of blockchain are made by Ethereum foundation with the participation of the community and most of them are developed by it
-
etc, the decision-making of blockchain is mainly decided by the feedback of three loose, collaborative teams with community participation
-
in any case, anyone can put forward improvement suggestions for the two kinds of blockchains. This is the benefit of open source, and it is also very common. You will find that developers of the two chains communicate with each other through GitHub and reddit. I hope to improve the frequency of communication in order to achieve the common goal
-
about compatibility
-
at present, the two kinds of blockchains are compatible with each other. Contracts or applications written by eth can be applied on etc, and vice versa
-
eth, focusing on ewasm, is committed to providing a platform for more and more developers, while the issue of contract security is secondary, such as viper
-
etc focuses on making developers create more secure contracts, such as viper, iohk research, at the cost of consuming the number of potential developers
-
it's obvious that both chains can accept each other, regardless of whether their wishes are the same or not. My view is that the number of developers is not necessarily related to the quality of the proct
-
about the transaction speed
-
eth, the average is 25 seconds, which will be shortened after upgrading
-
etc, with an average time of 14 seconds, maintained at 10-14 seconds after upgrade, according to ecip-1010 and ecip-1036 protocols
-
about the block capacity
-
eth, with the daily trading volume of eth graally reaching 5 million, the block capacity is graally saturated. This situation is similar to the recent transaction cost of bitcoin. This problem can be solved by expanding the block capacity by increasing the default fuel limit
ETC, At present, there is still a lot of room for block capacity. As more and more people accept etc, the block capacity will also increase, just like eth
-
about community
-
eth, mainly discuss on reddit
-
etc, mainly discuss on slack
-
about monetary policy
-
eth, the planned supply is growing steadily, resulting in an average inflation of 3% in eth blockchain in its life cycle
-
etc, before 2025, inflation will reach 3%, and then the total supply will reach 200 million etc, and then there will be deflation
As for the regional distribution of trading volume, China accounts for 20%, South Korea 25% and the United States 25% In etc, China accounts for 50%, South Korea 25% and the United States 10% About securities, at present, investors do not have the option to trade securities. Recently, one of eth's ETFs, trading open-end index funds, was denied by the regulators -
etc owns etc trading trust, which allows investors to own etc instead of the asset itself
for a long time, Ethernet has been known as a strong competitor of bitcoin. It wasn't until Andreas antonopoulos claimed that Ethernet was no longer a competitor of bitcoin, which triggered a heated discussion on social networks
people begin to compare the two and discuss the differences in investment and transaction between the two digital currencies< According to Chris burniske, analyst and blockchain proct director of ark investment management company, bitcoin is more used for hedging, while Ethereum, which relies on Ethereum to execute smart contracts, is more seen as a trading tool
bitcoin and Ethereum systems are built on the basis of blockchain, in which transactions are recorded publicly, making currency and asset transactions more convenient and preferential, eliminating the cumbersome middleman
in December 2015, the price of Ethernet currency was less than US $1, but now it has risen to US $15, nearly 15 times in just six months. This achievement is attributed to Ethereum, whose financial contracts are completely executed by software, which has attracted a large number of users to invest
with the previous example of Ethereum, the success of Dao (decentralized autonomous organization) is no surprise. The crowdfunding platform supported by Ethereum raised nearly $150 million from more than 10000 anonymous users. Each participant is given the right to vote, they can allocate funds, choose projects, once the investment project is successful, they can also get a certain degree of dividend reward< There are 670 bitcoin ATMs in the world, and thousands of outlets support bitcoin payment. Unlike bitcoin, Ethereum has not yet emerged in the field of electronic payment. At present, the main purpose of Ethereum is to support Ethereum network (such as Dao) to run programs
David ccini, executive director of the strength in numbers foundation, said:
users' expectations of Ethernet are different from those of bitcoin. Both cryptocurrencies can be used for speculation, but the original function of Ethernet currency is to support the operation of applications. Therefore, users need enough Ethernet coins to run their own app. This is also the problem faced by Dao - unless Dao can continuously generate new Ethernet coins, the payment platform will be in danger of outage.
ask where to eat crabs in Bacheng, any citizen can point out a way. We learned that there are four crab markets and one food street in Bacheng, which is a relatively concentrated place to eat crabs
the crab boat garden in Bacheng is located on Hubin Road by Yangcheng Lake. From Kunshan to Bacheng, just go west along Ma'anshan road and turn right to Hubin Road. Take the highway diners from the exit of the highway Bacheng, along the North West Road has been West to the end, turn right about 1 km road can reach crab Fang Yuan
Xiefang garden is located in the northeast of Yangcheng Lake, beside Xiangshi road. Diners can get off from the exit of Yangcheng Hubei (Bacheng North) of the ring expressway and turn left about 800 meters out of the toll station. The spring and autumn water city crab boat garden has invested about 16 million yuan to build water city catering center, aquatic wholesale market, fishing center and other facilities<
yujiadenghuo catering base is located in Yangcheng Hunan Province, which can be reached from the west to the end along Ma'anshan road. The diners at the exit of Baicheng expressway can walk westward along Chengbei West Road, turn left into Gucheng Road, and then turn into Ma'anshan road to see the lights of fishermen. Fishermen's Lantern investment is 38 million yuan (including 4.2 million yuan for environmental protection), with 46000 square meters of parking space, 2300 meters of catering ship wharf, nearly 100 catering ships, and more than 50% of green coverage
the second market for hairy crabs is also called Bacheng Lake market. You can go north along Weicheng Road, turn to Linhu Road, and go west to Bacheng primary school. The diners who take the expressway take the North West Road to the west, find the Weicheng road and drive north. The second hairy crab trading market has invested 8.5 million yuan in building 139 trading boat docks and 34 catering boats
the food street in Bacheng is mainly operated by the storefronts on both sides of Bajie road and Dayu road. Kunshan diners drive north along Hubin Road and you can see a street full of crab boats. After getting off the expressway, go west to the north of the city and find Hubin Road to find the market. Gourmet street has attracted 89 million yuan of private capital to build 167 business houses, covering a total area of 45500 square meters
of course, if you don't eat crabs in these crab boat intensive crab markets, the old streets in Bacheng town are also a good choice. After eating crab, take a walk in the old street, you can not only eat, but also experience the unique customs of Jiangnan Water Town
some farmhouses and ecological farms scattered in every corner of Baicheng also have authentic hairy crabs. Choose a restaurant you like and try the local farmhouse food. It has a different flavor
recommendation of crab eating restaurant:
a'si crab village in Bacheng, the first sign of crab eating in Yangcheng Lake. The crab village is actually a three story pavilion built by two large barges fixed on the lake. Although it is built on the ship, it is like walking on the ground. The front three floors are all private rooms for eating and seeing the scenery. Behind the crab village are open-air dining places and whole rows of net cages for keeping hairy crabs and fresh Yangcheng Lake aquatic procts. Guests can fish and burn whatever they want< Yangcheng Lake Yangcheng Lake Town: eating crabs on the island, the scenery here is unique
Yangcheng Lake town has two peninsulas, the main island and the lotus island. The annual output of hairy crabs is half of the total output of Yangcheng Lake District. The biggest feature of eating crabs in Yangchenghu town may be that the scenery is better. It's a bit of a paradise to take a motorboat tour of the lake
self driving route: Shanghai Nanjing Expressway Zhengyi hub (the intersection of Shanghai Nanjing Expressway and Suzhou Ring Expressway, turn right) - Suzhou Shanghai Expressway around the city (all the way north) - Shipai hub Yangcheng Hubei exit
3. Yangcheng Lake Weiting Town: eating crabs in food street
Weiting, located in the East Lake of Yangcheng Lake, accounts for one third of the lake area. Walking in the streets of Weiting Town, you can see the "symbol" of hairy crabs everywhere. With a construction area of 56000 square meters, the first phase of the international crab city is the largest specialized market for hairy crabs trading in East China, integrating on-site trading of hairy crabs and domestic and overseas procts, wholesale storage, tourism and catering, and local specialty shopping malls. It is only 20 meters away from the lake, and there is a Weiting hairy crab market with dozens of local crab boats
self driving route: Shanghai - Huning Expressway - entrance and exit of Yangcheng Lake Service Area - Weiting town