Ethereum computing
I am in oyuan.com!!!
warm tips: the above explanations are for reference only, without any suggestions. There are risks in entering the market, so investment should be cautious. Before making any investment, you should make sure that you fully understand the nature of the investment and the risks involved in the proct. After a detailed understanding and careful evaluation of the proct, you can judge whether to participate in the transaction
response time: December 2, 2020. Please refer to the official website of Ping An Bank for the latest business changes
[Ping An Bank I know] want to know more? Come and see "Ping An Bank I know" ~
https://b.pingan.com.cn/paim/iknow/index.html
what is Ethereum:
Ethereum is an innovation based on the application of technologies and concepts in bitcoin to computers. Ethereum itself imitates a lot of bitcoin technology to maintain the computer platform. Blockchain technology is one of them
Ethereum platform can safely run any program users want
advantages of Ethereum over other competitive currencies before Ethereum appeared, some digital currencies imitated bitcoin. However, these projects have their own shortcomings, they can only support one or several specific applications at the same time< However, the reason why Ethereum can surpass the limitations of these projects in the past is because of the core idea of Ethereum
what Ethereum wants to implement is a blockchain protocol with built-in programming language. Since it supports programming language, in theory, any blockchain application can be defined with this language, and then run on Ethereum's blockchain protocol as an application
The design of Ethereum is very flexible and adaptable
Ethereum target sets the advantages of blockchain technology, in order to add the advantages of blockchain, such as decentralization, openness and security, to almost all computing fields
blockchain applications of Ethereum
Ethereum has many blockchain applications, such as digital applications of gold and stocks, financial derivatives applications, DNS and digital authentication, etc
Ethereum has achieved more than 100 blockchain applications by many start-ups
Ethereum has also been closely watched by some financial institutions, banking consortia (such as R3), as well as large companies like Samsung, Deloitte, RWE and IBM. As a result, a number of blockchain applications such as simplified and automated financial transactions, merchant loyalty index tracking, and gift cards designed to achieve decentralization of electronic transactions have emerged
the relationship between Ethereum and blockchain:
Ethereum is a programmable blockchain
Ethereum does not give users a series of preset operations (such as bitcoin transaction), but allows users to create complex operations according to their own wishes
in this way, Ethereum can be used as a platform for various types of decentralized blockchain applications, including but not limited to cryptocurrency
like other blockchains, Ethereum also has a peer-to-peer network protocol. Ethereum blockchain database is maintained and updated by many nodes connected to the network. Each network node runs the Ethereum simulator and executes the same instructions. Therefore, people sometimes call Ethereum "world computer"
1. Machine cost: the cost of purchasing mining machine
2. Power cost: the power cost consumed by machine mining
3. Auxiliary costs: personnel maintenance, network, cable consumables, heat dissipation, etc.
for a simple example, take the mining machine of ant S9, which consumes less power on the market, for example, the calculation power is 13.5T, and the power consumption is 1400W
when the mining machine runs for 24 hours: 1.4kw * 24 = 33.6 degrees
Shenma m3, which consumes more power on the market, has a calculation power of 11.5t, The power consumption is 2150w
under 24-hour operation, the power consumption of a single machine is 2.15kw * 24 = 51.6oc
which is roughly equivalent to the power consumption of energy-saving air conditioning, but the bitcoin miner needs 24-hour uninterrupted operation, the power consumption of a single machine is very large after a year's calculation, and the step price cost of household electricity is too high, When the market is not good, the income may not be enough for the electricity expenditure, so at present, mining will choose to be hosted in the mine, which can get cheap electricity and rece the cost price of mining. The price below 30% is the ideal price, which can keep the price of bitcoin falling to a low level, and there is still some income< According to the current mining difficulty of bitcoin:
BTC revenue per ton: 1th / s * 24h = 0.00007087btc
calculated by the comprehensive 12t machine computing power, the daily output is:
0.00007087t * 12t = 0.00085044btc
then the time required for a single machine to dig a BTC:
1 / 0.00085044 = 1175 days
the time required for ten mining machines to dig a BTC:
1 / 0.0085044 = 117 days
100 days In other words, according to the current difficulty, it takes about three years for a single miner to proce a bitcoin, 3.9 months for ten miners to dig a bitcoin, and 11.7 days for a hundred miners to dig a bitcoin. The cost of a single miner is about 8500, Ten are around 85000, one hundred is 850000, less than one million, and one month's income is more than two bitcoins. According to the current price of bitcoin, the price is about 120000. So, although the income of bitcoin mining is not as good as before, it is still considerable compared with other investment projects
however, these benefits do not include decting the cost of electricity charges and later maintenance of machines, so the premise of mining is to find a mine with low electricity charges. If the quantity is large, we need to find a safe, reliable and stable mine. What's more, we need cheap electricity to lower the cost price.
If you want to query the transaction records on the main network, you can use Etherscan. However, if you build your own private chain, how should you query the transaction records
the answer is that you need to listen to the logs on the chain, save them in the database, and then query them in the database. For example:
< pre t = "code" L = "Java" > varaddr = & quot& quot;< br />varfilter=web3.eth.filter({fromB lock:0 ,toBlock:' latest', address:addr });< br />filter.get(function(err,transactions){transactions.forEach(function(tx){
vartxInfo=web3.eth.getTransaction(tx.transactionHash);
/ / at this time, the transaction information txinfo can be stored in the database
})< br />}); Pre >
Web3. Eth. Filter() is used to monitor the log on the chain, and Web3. Eth. Gettransaction() is used to extract the information of the specified transaction. Once the transaction information is obtained, it can be stored in the database for query
recommend a practical introction, you can see: Ethereum tutorial
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
bitcoin is a virtual currency
the risk is too high
it's easy to ruin your family.
