Position: Home page » Ethereum » Ethereum delete encode

Ethereum delete encode

Publish: 2021-04-19 23:37:39
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. 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)
4. How to run Ethereum source code go Ethereum
install MIPS based Linux header file
$CD $prjroot / kernel
$tar - xjvf linux-2.6.38. Tar. Bz2
$CD linux-2.6.38

create an include folder under the specified path to store related header files< br />$ mkdir -p $TARGET_ Prefix / include

ensures that the Linux source code is clean
$make mrproper

generates the required header file< br />$ make ARCH=mips headers_ check
$ make ARCH=mips INSTALL_ HDR_ PATH=dest headers_ Install

all the files in dest folder to the specified include folder< br />$ cp -rv dest/include/* $TARGET_ Prefix / include

delete dest folder at last
$RM - RF dest
$LS - L $target_ PREFIX/include
5. t you," the matron said, "
6. Mother of all chain (MOAC) blockchain (hereinafter referred to as "moacchain", transliterated as "Moke chain" in Chinese, also known as "the mother of many chains") is an open-source blockchain platform. It supports multiple seed blockchains on P2P network through hierarchical configuration structure. It is developed by the top team of blockchain experts in Silicon Valley, breaking through the asynchronous contract call, asynchronous contract call, and multiple seed blockchains Contract fragmentation processing and cross chain operation are the current instry problems. The expansion capacity and contract processing speed of the platform are far better than the current smart contract platform. It is a blockchain proct that can really deploy commercial applications

the reason for the emergence of Moke is that Ethereum, the hottest smart contract platform at present, has insufficient speed and expansion capacity to meet the needs of a large number of token project applications. Compared with Ethereum's 7-14 transactions per second, Moke can achieve 100 times, even 1000 times under optimized conditions
how is Moke, as an "optimized Ethereum", realized technically<

01 layered verification
first of all, layered verification is adopted. Other systems either insist on pow, or insist on POS, or mix POW + POS, which can not effectively use the advantages of both and avoid the disadvantages of both. We use POW in the physical network and POS in the logical network of the smart contract, so that we can take both advantages into account, which can be called pop (POS over POW)<

02 fragmentation technology
the latest fragmentation concept of Ethereum, the main chain is basically unchanged, and a validator management contract is added to manage sharding interface and allocation. The main chain doesn't care what it looks like in sharding. The main chain only cares about the hash of your header. However, in order to achieve fragmentation in technology, according to the route planning of Ethereum, it will not come out until 2019

compared with Ethereum's single network, Moke has successfully broken through and adopted sharding technology, which can divide Moke into numerous logical subnets, making parallel computing possible, solving a major problem in the instry, greatly improving the processing speed, so as to achieve visa level transaction scale<

03 asynchronous call
Ethereum's synchronous smart contract call, the return of smart contract and block consensus are bound in the same block, resulting in the total amount of smart contract processing limited by block time. Moke adopts asynchronous smart contract call, so that the call and return can cross blocks without block time limit, which greatly increases the number of smart contracts to be processed at the same time

04 cross chain
by crossing blocks through asynchronous smart contracts, Moke can carry out atomic cross chain operation on blockchains with different block generation times, making Moke an underlying blockchain system with cross chain capability. Asynchronous call of smart contract can cross blocks from start to completion, and is no longer limited to one block. This greatly speeds up the throughput of MOAC, and has the function of cross chain of different blockchains

different blockchains have different block generation times. For example, if you set a contract to buy Ethereum erc20 token on the MOAC, you can cross the current block of the MOAC in 5 seconds, and then the contract will wait for Ethereum 25 second block to complete the corresponding transaction through off chain communication, and then complete the transaction in the N + 2 MOAC block. This kind of atomic transaction is completely different from the current transactions completed by various cross chain third-party roles through the establishment of an intermediate escrow account

in the contract, you can also define several confirmation blocks to complete the transaction. Other blockchain systems lack the function of asynchronous call contract, so they can't exchange atoms across chains, which is the advantage of MOAC

05 plug in and verify self built blockchain procts
the new idea means to build a new blockchain. We need to set up servers, develop teams, build communities, attract new users, and so on. We need to spend a lot of money to implement new blockchain ideas. After the inker chain goes online, these ideas can be easily tested on the inker chain, without huge additional costs<

06 never bifurcate
once blockchain procts are deployed and put into proction mode, it is difficult to add / modify / delete functions. Such a modification is either a soft fork or a hard fork. Dealing with bifurcation requires great effort and economic consequences. The architecture mode of Moke chain makes it possible to improve blockchain without bifurcation.
7. The problem is that your current driver can't drive the network card of rtl8111 / rtl8168. You can find out if there is a Linux related driver on the RTL official website. If not, you can only try to use r1000 to drive. I used to be 8169 network card, can only use r1000 to drive.
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