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?
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
PoW, full name proof of work, that is proof of workload, also known as mining. Most public or virtual currencies, such as Bitcoin and Ethereum, are based on the POW algorithm to implement their consensus mechanism. That is, according to the effective work of mining contribution, to determine the distribution of money.?Bitcoin block?The Bitcoin block consists of t
First, first install Geth CLI environment sudo apt-get install Geth, this is very important
Second, download the source code
git clone https://github.com/ethereum/go-ethereumThirdly, environment-dependent
Note: (important) First configure the Go language development environment with this link: https://github.com/ethereum/go-ethereum/wiki/Installing-Go#
915050565b600080828401915082840290505b92509290505600a165627a7a72305820389009d0e8aec0e9007e8551ca12061194d624aaaf623e9e7e9 81da7e69b2e090029 ",
gas:500000
}
)
1.1.1. install Ubuntu 16.04 version 1.1.1.1. Installing and configuring SSH
Allow root user ssh remote login under Ubuntu
Http://www.linuxidc.com/Linux/2016-07/133256.htm 1.1.1.2. What is the default root password for
The previous installment, installs again today, opens the GitHub project to forget, therefore writes this note, the recording process, simultaneously also facilitates other wants installs the person.
First on the GitHub search Ethereum, find this go-ethereum version of the.
See a lot of files at this time, there is a readme.md, open to see the following information:
Prompts us to install this software
under./ethereum, enter the password in it, and each account has a password such as:12345612345612345610. Configure Ethereum Startup script private_blockchain.sh (name pickup)Geth--rpc--rpcaddr= "0.0.0.0"--rpccorsdomain= "*"--unlock ' 0,1,2 '--password ~/.ethereum/password --nodiscover- -maxpeers ' 5 '--networkid ' 1234574 '--datadir ' ~/.
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.