Position: Home page » Ethereum » Operation principle of Ethereum

Operation principle of Ethereum

Publish: 2021-05-24 03:45:18
1. At the top of ethereum is DAPP. It exchanges with the smart contract layer through Web3. JS. All smart contracts run on EVM (Ethereum virtual machine) and use RPC calls. Below EVM and RPC are the four core contents of Ethereum, including: blockchain, consensus algorithm, mining and network layer. Except DAPP, all other parts are in the Ethereum client. The most popular Ethereum client is geth (go Ethereum)
2. When it comes to money, mining is indispensable. In Ethereum network, if you want to get Ethereum, you also need to mine it. When it comes to mining, there must be a consensus mechanism
do you remember what the consensus mechanism of bitcoin is? The consensus mechanism of bitcoin is pow. To put it simply, the more work you do, the higher the amount of computation you pay, the more likely you will be the first to find the correct hash value, and the more likely you will be rewarded with bitcoin
however, there are some defects in the pow of bitcoin, that is, it is too slow to process transactions, and miners need to constantly collide hash values through calculation, which is costly and inefficient. Friends who are interested in blockchain knowledge should see such a saying:
in order to make up for the deficiency of bitcoin, Ethereum has proposed a new consensus mechanism, called POS (this is the abbreviation of English, which means "proof of equity", also translated into "proof of equity")
POS simply means the same as its literal meaning: equity, equity. The more currency you hold, the more equity you have, the higher your equity
Ethereum's POS means that the more money you hold, the longer you hold it, the less difficult it will be to calculate and the easier it will be to mine
in the initial setting of Ethereum, Ethereum hopes to build a relatively stable system by using POW in the early stage, then graally adopt POW + POS, and finally completely transition to POS. So, it's true that the consensus mechanism of Ethereum is POS, but POS is only a plan or goal at the beginning of Ethereum's release. At present, Ethereum has not yet transitioned to POS, and the consensus mechanism adopted by Ethereum is still pow, that is, the pow of bitcoin, but it is slightly different from the pow of bitcoin
the amount of information here is a bit large,
the first information point is that the consensus mechanism currently adopted by Ethereum is also pow, but it is slightly different from the pow of bitcoin. So, what's the difference between the pow of Ethereum and bitcoin: in short, the mining difficulty of Ethereum can be adjusted, but the mining difficulty of bitcoin can't be adjusted. Just like our college entrance examination, because the teaching situation and the number of students in different provinces are not the same, so the college entrance examination is divided into national papers and provincial independent proposition
Ethereum said that I am in favor of the topic by region. Bitcoin said: No, it must be the same volume in the whole country. The difficulty is the same for everyone
the popular explanation is that bitcoin uses computer computing power to do a lot of hash collisions, enumerate various possibilities to find a correct hash value. The Ethereum system has a special formula to calculate the difficulty of each block. If a block is verified faster than the previous block, Ethereum protocol will increase the difficulty of the block. By adjusting the block difficulty, the time needed to verify the block can be adjusted
according to the Ethereum protocol, the dynamic adjustment method of difficulty is to make the time interval of creating new blocks in the whole network 15 seconds, and the network uses 15 seconds to create blockchain. In this way, because the time is too fast, the synchronization of the system is greatly improved, and it is difficult for malicious participants to launch 51% (that is, more than half) of the computing power to modify historical data in such a short time
the second information point is: in the initial setting of Ethereum, we hope to achieve the transition from POW to
POS through phased upgrade
dating back to 2014, at the beginning of Ethereum's launch, the team announced that the launch of the project would be divided into four stages, namely, Froniter, homestead, metropolis and serenity. In the first three stages, the consensus mechanism adopts pow (workload proof mechanism), and in the fourth stage, it switches to POS (equity proof mechanism)
on July 30, 2015, the first phase "frontier" of Ethereum was officially released. This phase is only suitable for developers. Developers can write smart contracts and decentralized application DAPP on Ethereum network, and miners begin to enter Ethereum network to maintain network security and get Ethereum coins. The leading-edge version is similar to the beta version, proving whether the Ethereum network is reliable or not
on March 14, 2016, Ethereum entered the second stage of "homeland". In this stage, Ethereum provides the wallet function, so that ordinary users can easily experience and use Ethereum. There is no obvious technology improvement in other aspects, but it shows that Ethereum network can run smoothly
in September 2017, Ethereum has reached the third stage of "metropolis"“ "Metropolis" is composed of Byzantine and Constantinople. The goal of this stage is to introce the hybrid chain mode of POW and POS, so as to prepare for the smooth transition from POW to POS. This is the latest popular "Ethereum Constantinople upgrade". In the Constantinople upgrade, Ethereum will make some changes to the underlying protocols and algorithms to lay a good foundation for the implementation of POW and
POS
how much reward will Ethereum get for mining? Miners who win the block creation competition will get the following income:
1. Static reward, 5 ethereums
2. The fuel cost in the block, i.e. gas, we talked about in the last issue
3. As a part of the block, it includes the extra reward of "Uncle block". Uncle is uncle of uncle, and each uncle block can get 1 / 32 of the mining reward as a reward, that is, 5 times 1 / 32, which is equal to 0.15625 ethereums. Here, let's briefly explain the concept of "TERT block". The concept of "TERT block" was proposed by Ethereum. Why should we introce the concept of TERT block? This also starts with bitcoin. In the bitcoin protocol, the longest chain is considered absolutely correct. If a block is not part of the longest chain, it is called a "orphan block". An isolated block is a block, which is also legal, but it may be found later, or the network transmission is slower, and it does not become part of the longest chain. In bitcoin, the solitude is meaningless and will be discarded later, and the miners who find the solitude will not receive mining related rewards
however, Ethereum does not think that isolated blocks are worthless, and Ethereum system will give rewards to miners who find isolated blocks. In Ethereum, isolated blocks are called "Uncle blocks", which can contribute to the security of the main chain. Ethereum's ten second block interval is too fast, which will rece the security. By encouraging the use of tertiary blocks, the main chain can obtain more security guarantees (because the isolated block itself is legal). Moreover, paying the tertiary block can also stimulate the miners to actively mine and actively use tertiary blocks. Therefore, Ethereum thinks that it is valuable.
3.

First of all, we need to understand what is MLM:

MLM refers to the illegal behavior of organizers and development personnel to obtain wealth by calculating and paying remuneration to the developed personnel based on the number or performance of the personnel directly or indirectly developed, or requiring the developed personnel to pay certain fees to obtain the qualification to join. The essence of MLM is "Ponzi scheme", that is to say, the money of later comers is distributed to the income of former comers

However, the new type of MLM does not restrict personal freedom, does not accept ID cards and mobile phones, and does not take classes collectively. Instead, it uses capital operation as a banner to pull people to cheat money, drives luxury cars, wears gold and silver, and uses money to attract your relatives and friends to join in, and finally makes you lose all your money

then judge whether the ether coin is a kind of MLM, whether you need membership fee, whether you need to ask your relatives and friends to join

extended materials:

Ethereum is an underlying technology platform on which developers can create distributed applications. With the application, there will be transactions. With a transaction, you need money to complete the transaction. In this way, money has value, and investors' investment has a return. If the transaction volume on the platform is larger and larger, the demand for money will be higher and higher, and the money will be more and more valuable

from the perspective of image, bitcoin creates a kind of digital gold, while Ethereum creates a country, and Ethereum is the credit currency of the country

after bitcoin, there are thousands of digital virtual currencies in the world, many of which are completely deceptive in the guise of "digital currency". Previously, Haikou Municipal Public Security cracked down on a pyramid selling organization called "Eurasian currency", which operated on the internet pyramid selling platform, making more than 40000 investors cheated, involving 4.06 billion yuan. The field of virtual currency has just started, so we need to be cautious

resources : Ethernet money network

4. Blockchain games mainly refer to the blockchain applications in DAPP, which belong to the game category and need to interact with various blockchain public chains to a certain extent. Blockchain Games began to emerge in November of 17, with a very short history. Compared with mature games, the current playing method is quite simple. In the view of the instry, many games are even just a capital disk wrapped in the game coat
according to the classification of cryptogames, hot potato, Collectible transaction, spinach and Ponzi are the main game playing methods among the online blockchain games. The most popular games are hot potato games, including two popular games recently - cryptocelebrities and cryptocountries. There are 35 collections and transactions, ranking second, mainly represented by cryptokitties. Spinach and Ponzi are 17, ranking third, with etherroll and etheremon as the star procts
blockchain games also use a variety of themes, from cats, dogs, dragons, pigs and other animals to people, cars, countries, teams and so on
blockchain game 1.0 era
time: November to December 2017
main playing method: Collection + transaction
representative works: cryptokitties, cryptopunks
blockchain technology gives uniqueness to players' digital assets. This graally leads to the concept of NFT (non fungible tokens). The uniqueness and scarcity of people's assets in blockchain games will not change with the game itself. The concept was first applied by cryptopunks, which was launched by larva labs in June of 17. The system randomly generates 10000 punk avatars, which are put on Ethereum through smart contracts and distributed to players for free for trading
when axiom Zen studio added attributes, reproction and auction functions to NFT, cryptokitties was born. People can buy kittens with different attributes, breed with other cats, or sell their own cats through Dutch auction. Kittens with rare and unique genes are wildly sought after by people, and they get a high premium
people continue to develop on the basis of cryptokitties, adding accessories and combat functions, as well as gold digging, feeding, and looting
blockchain game 2.0 era
time: December 2017 to January 2018
main play method: Ponzi like
masterpiece: etheremon
at the beginning, etheremon's play method was very simple and crude. After a player bought a pet, as long as someone bought the same pet, the player could get a small part of eth reward. The game team quickly made a profit of about 2000 eth in a week. Then completely change the way of play, successfully transformed into a collection + combat game. This kind of Ponzi like game was quickly imitated by other manufacturers, and many imitators such as ethertanks and ethertanks appeared<
blockchain game 3.0 era
time: January 2018
main play method: fixed price, forced price hot potato mode
representative works: cryptocelebrities, cryptocountries
players buy encryption celebrities (Nakamoto, musk, etc.) and encryption countries (Japan, the United States, etc.), e to the uniqueness of assets, Subsequent players can only buy from asset owners at a higher price. The price is forced to rise, and the platform earns part of the price difference. At present, the country with the highest price is Japan, about 700 eth, and the most expensive celebrity is Elon Musk, who is worth about 200 eth
blockchain game 4.0 era
time: February 2018
main playing methods: combination of multiple mechanisms
representative works: world.mycollect, cryptocities
in the game, multi-level sales and sharing, player exploration (randomness), lottery, resource uniqueness and other playing methods are adopted. In cryptocities, for example, players can buy countries, continents and the world to "conquer.". The player who conquers the world can get 1% of the transaction volume of the continent and the country, and the player who conquers the continent can get 1% of the transaction volume of the country. In the future, players who conquer the country can get 1% of the transaction value of their subordinate cities. When exploring a new city, players have a chance to explore gems and get eth rewards
at the same time, spinach games also emerged. The high transparency of blockchains makes it easier for them to gain the trust of investors. The more famous ones are etheroll and vdice. They play simply and rudely. Players spend a certain amount of eth to bet on a certain number. When the number randomly generated by the system is less than that number, they can get profits
in addition, there are RPG (ethercraft), battle games (etherbots) and binary (ethermeng king), etc
2
advantages and disadvantages of blockchain games
throughout these successful cases, we find that blockchain games do have unique advantages:
high degree of trust: trust is quickly established through open source contracts, the use process is completely transparent, and the information is completely symmetrical. Fairness: data can not be tampered with and rules will never change. Assets belong to indivial players: Players' assets will not be lost with the decline of the game. Strong community attribute: blockchain itself has strong transaction and community attributes
of course, the current blockchain game is also in its infancy, with obvious disadvantages:
unable to interact in time: there are uncertain waiting time and congestion in blockchain transactions, so it is difficult to form timely interaction between players. The cost of sending instructions is high: every time the instructions are sent, gas will be consumed, while the price of eth still makes the cost of gas relatively high. Immature development environment: at present, Ethereum's virtual machine and programming language solidness are the most mature development environment in many public chains. But compared with other popular languages, it is still very immature
3
Gamification will boost the implementation of blockchain
in traditional desktop online games, manufacturers constantly encourage new players, leading to inflation, and the real value of all assets of a game account is often far lower than the players' investment. After the emergence of mobile games, the mode of props binding account and account binding ID card soon became popular. This also makes once the player decides to leave a game, he must give up all the virtual assets in the game. The emergence and continuous maturity of blockchain technology will make the decentralized formulation of game rules and decentralized storage of virtual assets technically feasible. The convenience of virtual assets on the chain also makes the blockchain easier to land in the game scene
cryptogames believes that the development direction of blockchain games, or the development direction of classic games (like basketball, football and chess, once the rules are determined, they will last forever), It must be "decentralized":
the rules are determined by the players through negotiation, and the players supervise each other to ensure that the game is carried out according to the rules. All the props used in the game are owned by the players themselves. If someone breaks the rules or is not happy with the game, they can go away directly. There is no centralized organizer in the game itself.
the popularity of cryptokitties has greatly promoted private wallet, Blockchain game, as an early application of blockchain, has rapidly promoted the popularity of blockchain. Similarly, the use of game development experience and game design concept to develop a game
5. How to earn money by raising cats
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.
6. Casper is a consensus mechanism of the next generation of Ethereum, which belongs to POS. Casper's consensus was reached by blocks, not by chains, as pos did. Currency exchange of digital currency
7. Me too. Have you solved your problem? How did you do that
8. Nanometer (the symbol is nm) is a unit of length, originally called nanometer, which is 10 ^ - 9 meters (one billionth of a meter), or 10 ^ - 6 mm (one millionth of a millimeter). Like centimeter, decimeter and meter, it is a measure of length. It's four times the size of an atom, smaller than the length of a single bacterium
1000000000nm = 1m (m)
1000000000nm = 1mm (mm)
1000nm = 1m (& micro; m
9. 1nm = 10 to the - 9th power, which means 10 to the - 6th power, which means one millionth of a millimeter
1mm means one million nanometers
10. The original meaning of power cat is "power network router" (some people call it "power line communication"), which is abbreviated as PLC (power line communication)“ "Power cat" refers to "power modem" and power line Ethernet signal transmission adapter
working principle
wireless power cat uses the power line that transmits current as the communication carrier to convert any power socket under a meter circuit into a network interface, plug and play, and can be connected with Ethernet and connected to the Internet without additional wiring. It is a communication mode using 50 / 60Hz AC power line to transmit high-speed data, voice, image and other multimedia service signals. This technology loads high-frequency signals (3MHz and 30) containing information onto power line for data transmission
structure power supply converts AC power into DC power and provides 12V, 3.3V and 1.8V to baseband circuit. Coupler – couples data signals to power lines to prepare data for transmission on power lines. Transmit – data is transmitted from the front end with OPA current operational amplifier. Carrier – through the power carrier chip to calculate, calculate, start to transmit data on the power line. Cache – used to store data and ensure the quality of data transmission. Ethernet – Ethernet chip connected to the computer network card, the data is transmitted to the computer

operation method
the wireless power cat is plug and play, and the wireless power cat is not troublesome. Just set it up a little. The 500m power cat is inserted on the router, and the wireless power cat is installed on any socket in the room. At this time, there is wireless signal in the room, and you can access the Internet, In theory, wireless power cat has 300m wireless network and 200m power line signals, which can be transmitted by both power line and wireless
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