Mining on Ropsten testnet

in mining •  6 years ago 

When I try to do CPU mining in geth, it is hardly mined. POW mining should also have a graphics card. geth CPU mining is simple. All examples here are based on ropsten testnet. The OS is ubuntu 16.04.

geth -testnet console
> miner.start (10)

The number in start is the number of threads to run. Anyway, this is hardly mined.

To do GPU mining, you need to install some. First, from OpenCL,

sudo apt-get install nvidia-cuda-toolkit

If you run the clinfo and it says something like NVIDIA, it is a success. There are various OpenCL installation methods on the Internet. The standard answer is how to install and install NVIDA driver from NVIDA site. However, with this method, my ubuntu desktop was broken, so I installed the toolkit separately.

Here is a miner installation. When you install cpp-ethereum, it contains ethminer.

sudo apt-get install software-properties-common
sudo add-apt-repository -y ppa: ethereum / ethereum
sudo apt-get update
sudo apt-get install ethereum

Once installed, run it now. Run geth with testnet.

geth -rpc -rpccorsdomain localhost -datadir / your / geth / datadir -testnet
ethminer -G

This will cause ethminer to connect to geth with rpc and pass the mining results. geth must have an account to receive mining compensation. When you need to connect to geth,

geth attach ipc: //your/geth/datadir/geth.ipc

You can open the geth console to observe various information.

I ran overnight and there were 1,000 Ethers.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Congratulations @nine.dragons! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 1 year!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!