Ethereum GitHub
-
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
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
make: * * [geth] error 1
there is no such directory, or the directory has insufficient permissions
Ethereum is a blockchain smart contract. Now Ethereum ranks 2-3 in the market value ranking, with a market value of 25% of bitcoin. However, Ethereum also has some problems, such as slow trading, high fuel costs and the mining mechanism that has been criticized repeatedly. Familiar? All of bitcoin's problems are with Ethereum. Some time ago, the Ethereum cloud cat game developed on Ethereum went online in the first week, directly blocking Ethereum's trading network. I tried to pay a high gas fee of nearly 100 yuan, but I still couldn't transfer it successfully. This can't help but lower my expectation of Ethereum. Ethereum is a great idea of V God, but after all, it is a pioneer, and there is a long way to go from perfection.
first, smart contracts are so good that they are not useless
smart contracts. As the name suggests, smart contracts refer to contracts that can be executed automatically by computer code; Ethereum virtual machine is used to execute smart contract; Smart account is the carrier that smart contract can be executed. In other words, smart account, this "account" can be controlled by Ethereum virtual machine. According to what control, according to smart contract
there is no free lunch in the world. The smart contract function is so good that it's not useless. When you trade in Ethereum, you have to pay the miner's handling charge. So what's the handling charge you have to pay on Ethereum system, and what's the relationship between
gas and handling charge
2. What's the matter with Ethereum gas
Ethereum gas is similar to automobile fuel. It needs Ethereum gas to drive smart contract. Gas is an English word, Chinese meaning: gas, gasoline, this thing in daily life, is a consumable. Why does Ethereum proce fuel
what is the meaning of gas in Ethereum? In fact, Ethereum's gas is closely related to transaction costs. Ethereum transaction needs service charge. This gas is the calculation mode of service charge of Ethereum
in the setting of Ethereum, the transaction fee is similar to an encrypted fuel, namely gas, which can drive the movement of smart contracts. When Ethereum executes transactions on the blockchain, the fuel will be graally consumed according to the rules of the characteristics
from this point of view, gas is really the same as its original intention, like automobile fuel. If you want to start a car, you must need fuel
What is the difference between the transaction fees of Ethereum gas and bitcoin When it comes to handling charges, you may be familiar with them. There is no free lunch in the world. Both Ethereum and bitcoin need service charge, but the service charge mode of the two is different. Bitcoin is used to pay bitcoin as a transfer fee directly, but Ethereum is not In essence, Ethereum is a virtual machine, which is decentralized and controlled by people all over the world, forming a "world-class computing network". When you send a token, execute a contract, transfer Ethereum, or do other things on the block, the computer needs to calculate when processing the transaction, which consumes network resources. In this way, you have to pay the "gas" to get the computer to work for you and the miners to process the transaction for yougenerally, the higher the gas price the sender is willing to pay, the greater the value the miners get from the transaction, and the more likely the miners are to choose the transaction. In this way, miners are free to choose to trade. In order to set the gas price for the sender as a reference, miners can directly put forward the lowest gas price they need to execute the transaction
How to calculate the gas consumption of Ethereumwhen Ethereum virtual machine processes transactions, Virtual Opportunities process one by one according to the operation instructions determined in the transaction, and each operation instruction has a specified gas consumption
Ethereum system stipulates two accounts: one is normal account and the other is smart account
for ordinary transfer transaction, that is to call "normal account", the required gas is fixed 21000
when calling "smart account", because the complexity of smart contract is different, the required gas is also different. The more resources (computation, memory, etc.) used to process transactions, the more gas will be needed. For example, an addition operation will consume 3gas. If more complex operations are performed, the more gas will be consumed
then you may ask a question: when a user's transaction involves a malicious smart contract, the contract is extremely complex, and the execution of the contract will consume unlimited fuel, what should we do? The solution of Ethereum system is: in order to avoid unlimited gas consumption caused by malicious
smart contract, the user needs to set the maximum allowable fuel consumption when sending the transaction, namely
gaslimit. In this way, even if there is a malicious smart contract, the worst case is only within the fuel consumption range specified by gaslimit
What is the relationship between Ethereum gas and transaction feeson Ethereum, the service charge you pay is equal to gasprice times gasused
you can understand gasprice as the unit price of fuel and gasused as how many liters of fuel the car needs
for a car, if you say 20 yuan per liter of gasoline, 10000 liters of gasoline is 200000 yuan. For Ethereum, each
gas is 20 gigabytes (gigabytes is the unit of quantity of Ethereum currency), and 10000 gas is: 20 times 10000 equals 200000 gigabytes, 20000 gigabytes equals 0.0002 Ethereum, that is to say, the transaction procere is 0.0002 Ethereum
the specific exchange value is shown in the following table:
< p class = "ikqb_ image_ Please click to enter the description of the picture (Note: the basic unit of the quantity of ether coin is "Wei", and the quantity units of ether coin are "Wei", "FeNi" and "Ether", among which "Ether" is used as ordinary transaction“ "Fini" is used as micro trading“ "Saab" and "Wei" are used to carry out contract implementation on cost.) From this we can find that gas is not Ethereum, it is a separate system, its exchange rate and Ethereum into a certain proportion, after the proportion of exchange, the final formation of transaction costs
for specific exchange rate query, you can check the following website:
for details https://jin10086.github.io/etherconVerter/
both gas price and ether price are freely regulated by the market, but they are different in that the price of ether fluctuates according to the market situation, while the price of gas is determined by miners, If the price of fuel falls below the miners' minimum requirements, the miners refuse to process the deal. The separation of gas and Ethereum can protect the system from the possible fluctuation with the rapid change of Ethereum price
generally speaking, most miners will choose to give priority to their interests. When dealing with the transaction, they will arrange according to the gas price from high to low, and give priority to those with high gas price. If you are in a hurry to trade, you need to raise the gas price so that the miners can see you earlier; If you are not in a hurry, you just need to set a gas price, which is above the bottom line of gas price set by miners
How is gas obtainedin fact, gas is the ether coin purchased from the miner. The ether coin in the user's own account can purchase gas from the miner, and the Ethereum client will automatically purchase gas with Ethereum according to the specified maximum transaction expenditure limit
Where did gas go in the endfor each transaction, the initiator of the transaction must set the gas limit and gas price. Different operations will proce different gas costs. When the gas is used up, the miner will stop executing, and the gas used will be used as a reward to the miner. This will involve several situations:
the first situation is that if there is a surplus gas, the miner will stop executing, Then the remaining gas will be returned to the transaction initiator or the creator of the smart contract. For example, if I send an Ethereum to Yiyi, the gas limit I set is 50000, and the gas normally consumed is 21000, then the remaining 29000 that has not been consumed will be returned to me
in the second case, if the gas limit I set is too low, or the Ethereum in my account is not enough to pay for my gas consumption, then the transaction will be cancelled e to insufficient gas, and the gas used for calculation will not be returned to my account
in the third case, if the transaction fails, I have to pay the handling charge for the occupied computing resources
How to set a reasonable gas pricebefore each transaction, you can query this website to confirm the gas price to be set: https://ethGasstation.info/ To sum up, in this article, we mainly introce the gas and service charge of Ethereum: gas is equivalent to fuel oil. When you process transactions on Ethereum virtual machine, you will consume computing resources, that is, gas. On Ethereum, the service charge you pay is equal to gasprice multiplied by gasused, that is, the unit price of gas multiplied by the total amount of gas consumed. The complexity of the operation is different, and the cost of gas is also different. When the gas is used up, the miner will stop executing, and the gas used will be used as a reward to the miner. The miner will give priority to the trader with higher gas price
It depends on the electricity bill, and the efficiency of mining
the most efficient is Claymore on GitHub. The algorithm is very good, but the author has 2%
because of the wall, the download of GitHub will often have problems
< P > I modified the code to remove the author's extraction. Students who want to mine can try Claymore, Give a link to the network disk ~ students who are inconvenient in GitHub can download it from the network disk, double-click the EXE file ~ but remember to change the account to your own ~network cloud link - Claymore algorithm optimization version
Constantinople includes five different Ethereum improvement proposals (EIPs), which were completed on August 31. Once released on Ethereum, these proposals will permanently change the blockchain through a series of new backward compatible upgrades
this means that the nodes of the computer network running the Ethereum software must be updated with the whole system, or continue to run as separate blockchain entities
the system wide upgrade has caused quite a lot of dramatic events in the past, which should be more formally referred to as "hard fork". Most notably, when some users disagree with this change, it may lead to two different versions of the same blockchain running at the same time. At present, if you want to invest in Ethereum, you can trade in the bitnet exchange.