In Ethereum (1): In the steps to build the Ethereum private chain on CentOS 6.5 we set up the Ethereum private chain, this time we will create accounts, mining and transfer operations in this private chain environment.
First of all, to review the construction process, the more important part of our talk.
We used the l
|00:24:54] Commit new mining work number=37 txs=0 uncles=0 elapsed=122.202μsThen stop mining:>miner.stop ()TrueThen come and see how much of our account wallet is mine:> eth.getbalance (eth.accounts[0])355000000000000000000Next, I'll talk about how to build a private network node group:Setting up private network or local clusterReference Documentation:Http://ethdocs.org/en/latest/network/test-networks.html?
, that is 2016 blocks of difficulty sum/14 days of the number of seconds, get the difficulty value per second.4, the requirements of new difficulty, the difficulty is not less than the minimum parameter definition of difficulty.?bitcoin-0.15.1 source code in the calculation of mining difficulty codes are as follows:?Nfirstblocktime is the timestamp of the first block of the top 2016 blocks unsigned int calculatenextworkrequired (const cblockindex* Pin
Introduction to Mining
The term mining is derived from the analogy between cryptocurrency and gold. Gold or precious metals are rare, and electronic tokens are also the only way to increase the total is to dig mine. So is Ethereum, and the only way to release it is to dig mine. But unlike other examples, mining is als
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.