Quick Guide on Solo GPU Mining Ethereum on Windows

原文地址:https://cryptomining-blog.com/5344-quick-guide-on-solo-gpu-mining-ethereum-on-windows/

AS requested here comes a simple guide on how to solo mine Ethereum Ether coins on a local system or within a network with multiple mining rigs. Note that at this point it is already pointless to try local solo mining with CPU only, and if you do not have enough GPU power available and you end up with some bad luck you may not be able to solve a block in a long time. Also our experience shows that geth may lockup at times when solo mining not sending new work from the current block, so do monitor your mining rigs carefully should you decide to try it. If you want to mine in a pool, then you might want to check out our other Quick Guide on How to Mine Ethereum on Windows. Before you get started you need to download the geth and ethminer Windows binaries from the link below, then just follow the instructions below:

Generating wallet address:
– Open the geth folder and run geth-console.bat to start Ethereum in console mode
– The software will need to download the blockchain data, it can take some time
– In the console type: personal.newAccount("password")
– Instead of password in the quotes above write your own password and remember it well
– In the console type: eth.accounts
– This will list your Ethereum wallet address
– To check your account balance you can type: web3.fromWei(eth.getBalance(eth.coinbase), "ether")

Sending Ether to another wallet:
– First you need to unlock your account by typing in the console the following (replace password with your password): personal.unlockAccount(eth.accounts[0], "password")
– In the console type: eth.sendTransaction({from: 'your_address', to: 'recipient_address', value: web3.toWei(1, "ether")})
– In the above code replace your_address and recipient_address with the respective addresses, the example is for sending 1 Ether, but you can change the value depending on your needs

Starting geth for solo mining:
– To listen for connections only on the local system type: geth --rpc --rpcaddr "localhost" --rpcport 8545
– To be accessible on the local network type: geth --rpc --rpcaddr "192.168.0.123" --rpcport 8545
– Make sure that for local LAN accessibility you replace the rpcaddr IP address to the one that of the machine geth is running on, the 192.168.0.123 is just an example
– To be accessible on the Internet type: geth --rpc --rpcaddr "x.x.x.x" --rpcport 8545
– Make sure that for Internet accessibility you replace the rpcaddr IP address to the one that of the machine geth is running on, the x.x.x.x in the example will not work, also make sure that the 8545 port (or another one you decide to use) is forwarded

Starting ethminer for solo mining:
– For local system mining with ethminer on the same PC that geth is running on use: ethminer -G
– For mining on a system in the Local LAN where geth is installed and running use: ethminer -G -F http://192.168.0.123:8545
– Make sure that for local LAN mining the IP address of the system geth is running on is set correctly on the miner, the 192.168.0.123 is just an example, also make sure that there is no Firewall blocking connections
– For using mining rig to mine over the Internet on a PC with geth running in your local LAN use: ethminer -G -F http://x.x.x.x:8545
– For Internet access make sure that instead of the x.x.x.x in the example you set your external IP address and that the 8545 port is properly forwarded between the external IP and the system running geth

It seems that ethpool has just stopped accepting new users due to high load on their server, they have posted the following message: “Due too the high hashrate the pool currently does not accept new miners!”. So if you still haven’t started mining there, existing users can continue using the service, so now may just be the right time to try out solo mining.

– Download geth and ethminer compiled for Windows and ready to be used…



Other Similar Publications:

 

36 Responses to Quick Guide on Solo GPU Mining Ethereum on Windows

hello

August 14th, 2015 at 20:52

How do you send ether while you are mining?

admin

August 14th, 2015 at 21:21

To check your account balance you can type in the geth console: web3.fromWei(eth.getBalance(eth.coinbase), "ether")

To sending Ether to another wallet type in the geth console: eth.sendTransaction({from: 'your_address', to: 'recipient_address', value: web3.toWei(1, "ether")})

In the above code replace your_address and recipient_address with the respective addresses, the example is for sending 1 Ether, but you can change the value depending on your needs

hello

August 14th, 2015 at 21:25

thanks for replying but while you are mining you can’t type in the geth console. I’ve tried to open a new console with Geth Attach but it won’t let me unlock my account in that particular console. Am I doing something wrong. Thanks.

hello

August 14th, 2015 at 23:21

Adding rpc:http://localhost:8545 I can still get my balance as with Geth Balance but now when I try to send ether I just get a blinking cursor, not even a warning about not being able to unlock my account. Does it work for you guys?

admin

August 14th, 2015 at 23:28

You can then try running geth for solomining with: geth --rpcaddr "localhost" --rpcport 8545 console

hello

August 14th, 2015 at 23:50

Thanks! that worked. It’s still so clunky but it works. Do you know what happens if you run alethzero at the same time as geth, do they use the same account? Thanks for you help, I appreciate you and your site, I check it almost daily.

mercury

August 16th, 2015 at 04:45

Can’t transfer mined coins to Bittrex as version of geth linked does not support IBAN addresses where would i find a version of geth that supports this?

Basilisk

August 16th, 2015 at 22:30

I download the zip, I open the geth folder and run geth-console.bat to start Ethereum in console mode, but i don’t know if i’am downloading the blockchain data. I must be doing something wrong. I write “admin.chainSyncStatus” and this appear

blocksAvailable: 0,
blocksWaitingForImport: 0,
estimate: “0”,
importing: 0

Basilisk

August 16th, 2015 at 22:34

Only this appears

I0816 15:58:10.029740 2212 fdtrack.go:109] fd usage 0/0, tracked 12 [leveld
b:10 p2p:2]
I0816 15:58:25.030551 2212 fdtrack.go:109] fd usage 0/0, tracked 12 [leveldb:
10 p2p:2]
I0816 15:58:40.030437 2212 fdtrack.go:109] fd usage 0/0, tracked 12 [leveldb:
10 p2p:2]
I0816 15:58:55.030122 2212 fdtrack.go:109] fd usage 0/0, tracked 12 [leveldb:
10 p2p:2]
I0816 15:59:10.030985 2212 fdtrack.go:109] fd usage 0/0, tracked 12 [leveldb:
10 p2p:2]
I0816 15:59:25.030107 2212 fdtrack.go:109] fd usage 0/0, tracked 12 [leveldb:
10 p2p:2]
I0816 15:59:40.030179 2212 fdtrack.go:109] fd usage 0/0, tracked 12 [leveldb:
10 p2p:2]
I0816 15:59:55.030080 2212 fdtrack.go:109] fd usage 0/0, tracked 12 [leveldb:
10 p2p:2]
I0816 16:00:10.031311 2212 fdtrack.go:109] fd usage 0/0, tracked 12 [leveldb:
10 p2p:2]
I0816 16:00:25.030404 2212 fdtrack.go:109] fd usage 0/0, tracked 12 [leveldb:
10 p2p:2]
I0816 16:00:40.030037 2212 fdtrack.go:109] fd usage 0/0, tracked 12 [leveldb:
10 p2p:2]
I0816 16:00:55.031090 2212 fdtrack.go:109] fd usage 0/0, tracked 12 [leveldb:
10 p2p:2]
I0816 16:01:10.029700 2212 fdtrack.go:109] fd usage 0/0, tracked 12 [leveldb:
10 p2p:2]
I0816 16:01:25.030065 2212 fdtrack.go:109] fd usage 0/0, tracked 12 [leveldb:
10 p2p:2]
I0816 16:01:40.029687 2212 fdtrack.go:109] fd usage 0/0, tracked 12 [leveldb:
10 p2p:2]
I0816 16:01:55.030604 2212 fdtrack.go:109] fd usage 0/0, tracked 12 [leveldb:
10 p2p:2]
I0816 16:02:10.030210 2212 fdtrack.go:109] fd usage 0/0, tracked 12 [leveldb:
10 p2p:2]
I0816 16:02:25.029849 2212 fdtrack.go:109] fd usage 0/0, tracked 12 [leveldb:
10 p2p:2]
> I0816 16:02:40.029882 2212 fdtrack.go:109] fd usage 0/0, tracked 12 [leveld
b:10 p2p:2]
> I0816 16:02:55.030080 2212 fdtrack.go:109] fd usage 0/0, tracked 12 [leveld
b:10 p2p:2]
I0816 16:03:10.031191 2212 fdtrack.go:109] fd usage 0/0, tracked 12 [leveldb:
10 p2p:2]

admin

August 17th, 2015 at 11:02

When you run geth in a few seconds it should start connecting to peers and downloading or updating the blockchain data, maybe there are some trouble connecting to peers to download the data. If you are using a firewall you might check to see that it is not blocking your connections for example. You can also try running the following command from the console admin.peers to see if you are actually connected to some peers.

Jozef

August 17th, 2015 at 14:14

When i type:

geth --rpc --rpcaddr "localhost" --rpcport 8545

i get next message:

(anonymous): Line 1:8 Unexpected identifier (and 2 more errors)

admin

August 17th, 2015 at 14:31

Jozef, should work just fine, mind the quotes and double dashes, have you tried by running the included BAT file: geth-solomine.bat

Basilisk

August 17th, 2015 at 17:57

Thanks for you reply. I checked the windows firewall and all is fine. There is another way to verify what’s going on? Another thing, when I click web3.fromWei (eth.getBalance (eth.coinbase), "ether") appears 50, does that mean? 50 ether or less?

admin

August 17th, 2015 at 18:23

The amount you are returned after executing the above command shows the number of coins you have in your wallet.

Nidhal

August 18th, 2015 at 10:41

Hi Man, Firstly thank you for this awesome TUTO , You told as that he will take same time to download the data when you opened for the first time , Now more than 8 hours and it still doing this … it’s everything okay ?

d 0 ignored) including 0 txs in 2.0198ms. #105375 [91bf02e8 / 91bf02e8]
I0818 10:26:42.307746 7096 chain_manager.go:658] imported 0 block(s) (0 queue
d 2 ignored) including 0 txs in 3.0316ms. #105375 [7da94827 / 2f867947]
I0818 10:26:48.147718 7096 fdtrack.go:109] fd usage 0/0, tracked 49 [leveldb:
38 p2p:11]
I0818 10:27:03.146553 7096 fdtrack.go:109] fd usage 0/0, tracked 49 [leveldb:
38 p2p:11]
I0818 10:27:08.197250 7096 chain_manager.go:658] imported 1 block(s) (0 queue
d 0 ignored) including 7 txs in 12.0089ms. #105376 [1f4c47f3 / 1f4c47f3]
I0818 10:27:17.722391 7096 chain_manager.go:658] imported 0 block(s) (0 queue
d 2 ignored) including 0 txs in 3.032ms. #105376 [2f867947 / 1f4c47f3]
I0818 10:27:18.146482 7096 fdtrack.go:109] fd usage 0/0, tracked 49 [leveldb:
38 p2p:11]
I0818 10:27:33.145743 7096 fdtrack.go:109] fd usage 0/0, tracked 49 [leveldb:
38 p2p:11]
I0818 10:27:48.145771 7096 fdtrack.go:109] fd usage 0/0, tracked 49 [leveldb:
38 p2p:11]
I0818 10:27:56.099169 7096 chain_manager.go:658] imported 1 block(s) (0 queue
d 0 ignored) including 2 txs in 6.9874ms. #105377 [fd380a1a / fd380a1a]
I0818 10:28:01.292950 7096 chain_manager.go:658] imported 1 block(s) (0 queue
d 0 ignored) including 31 txs in 56.0901ms. #105378 [497396d4 / 497396d4]
I0818 10:28:02.046147 7096 chain_manager.go:658] imported 0 block(s) (0 queue
d 2 ignored) including 0 txs in 4.002ms. #105378 [fd380a1a / 497396d4]
I0818 10:28:03.146607 7096 fdtrack.go:109] fd usage 0/0, tracked 49 [leveldb:
38 p2p:11]
I0818 10:28:05.732434 7096 chain_manager.go:658] imported 0 block(s) (1 queue
d 0 ignored) including 0 txs in 3.021ms. #105379 [3a50734f / 3a50734f]
I0818 10:28:06.478406 7096 chain_manager.go:658] imported 0 block(s) (0 queue
d 1 ignored) including 0 txs in 3.0137ms. #105378 [497396d4 / 497396d4]
I0818 10:28:06.488010 7096 chain_manager.go:658] imported 1 block(s) (0 queue
d 0 ignored) including 0 txs in 3.9925ms. #105379 [3a50734f / 3a50734f]
I0818 10:28:18.146560 7096 fdtrack.go:109] fd usage 0/0, tracked 49 [leveldb:
38 p2p:11]
I0818 10:28:23.522637 7096 chain_manager.go:658] imported 1 block(s) (0 queue
d 0 ignored) including 0 txs in 3.0021ms. #105380 [559f8b86 / 559f8b86]
I0818 10:28:24.006669 7096 chain_manager.go:658] imported 1 block(s) (0 queue
d 0 ignored) including 0 txs in 2.9893ms. #105380 [21b570a1 / 21b570a1]
I0818 10:28:25.388934 7096 chain_manager.go:658] imported 0 block(s) (1 queue
d 0 ignored) including 0 txs in 3.0193ms. #105381 [15a5c527 / 15a5c527]
I0818 10:28:25.449581 7096 chain_manager.go:658] imported 0 block(s) (1 queue

admin

August 18th, 2015 at 11:02

Nidhal, yes it is normal, it s just continuing to download new blocks when they become available.

sincity44

August 20th, 2015 at 23:55

I have two computers how to make them mine solo .what i need to do

sincity44

August 20th, 2015 at 23:57

can i use one geth or i need two for every pc

admin

August 21st, 2015 at 09:18

No need to have the geth client running on both, only on 1 of the PCs and have ethminer connecting to geth from both systems.

dimasw

August 28th, 2015 at 21:51

I started “gets –rpc –rpcassr “x.x.x.x” –rpcport 8545″
It’s OK.
Then I started “geth attach rpc:http://x.x.x.x:8545 console”
It’s OK
I write in console:
web3.fromWei(eth.getBalance(eth.coinbase), “ether”)
get the answer:
“Invalid response type (string)”
….

What am I doing wrong?

dimasw

August 28th, 2015 at 21:52

How do I know if a block is found?

admin

August 28th, 2015 at 22:04

dimasw, you better use the provided geth-solomine-console.bat and run another instance with a console as the attach does not seem to work well. When checking your balance you will know that you have solved a block by the increase in the amount you have, or you can just enter your wallet address in a block explorer.

dimasw

August 28th, 2015 at 22:30

I have 3 accounts.
I started eth-solomine-console.bat

what is account is mining?

dimasw

August 28th, 2015 at 22:33

Sorry. I make syntax error.
web3.fromWei(eth.getBalance(eth.coinbase), “ether”) – it’s right

dimasw

August 28th, 2015 at 22:53

1. How to get Ethereum wallet address from console? Copy-Past not work.
2. My balance is 80. but it’s impossible!

dimasw

August 29th, 2015 at 00:16

how to synchronize?

dimasw

August 29th, 2015 at 00:31

peerCount:0

admin

August 29th, 2015 at 11:34

You need to wait a bit for peers to connect and the synchronization to start, you should see that noted in the console.

yannick

March 8th, 2016 at 12:40

Hello !

First thanks for all the info you provide on this site.

Will this tutorial, and the executables provided, still be good for the Homestead fork ??

Regards,
Yannick

admin

March 8th, 2016 at 13:03

Yes, the included client has been updated to the latest version with support for Homestead.

robert

April 5th, 2016 at 17:56

C:\Program Files\Ethereum>eth-start.bat

C:\Program Files\Ethereum>eth –frontier -i -b -v 1
Invalid argument: -i

C:\Program Files\Ethereum>pause
Press any key to continue . . .

Muhammad atif

April 11th, 2016 at 03:47

every time when system restart should i sync with rpc server an it take full time to sync as it take first time

Phillipp

May 4th, 2016 at 08:57

Hi when i type i get an error

geth --rpc --rpcaddr "localhost" --rpcport 8545

i get next message:

(anonymous): Line 1:8 Unexpected identifier (and 2 more errors)

my system is ubuntu

Aytug

June 2nd, 2016 at 14:26

How to set LAN accessibility correctly what do i have to type for IP?

iRA the rock

August 19th, 2017 at 06:34

GETH SET UP, EASY AS I CAN EXPLAIN IT. I JUST LEARNED THIS FOR MYSELF AFTER HOURS OF INTERNET SEARCHING and WATCHING YOUTUBE. HOPE IT HELPS GUYS!
My PC specs- windows 10 pro, ryzen 7 1700, rx 480 8gigs of ddr4. I’m getting 20Mh/s FINALLY AS EVERYTHING SEEMS TO BE WORKING!

[geth] –rpc –fast –cache=512 –rpcaddr [X.X.X.X] –rpcport 8545 –jitvm console

Okay now I will walk you through how I set up my GETH after installation:

Step 1:
type “cmd” in windows search, lower left of your desktop>>> click “command prompt” to open
in command prompt type>”cd \” then ENTER. you will get to your root “C:\” drive

Step 2:
Okay NOW open windows “File Explorer” and locate where you installed GETH, find file “geth.exe” RIGHT MOUSE CLICK AND DRAG TO THE “Command Prompt” you just previously opened, let go in the black area within borders. This will fill in where I typed “[geth]”

Step 3:
type the rest until you get to the second set of brakets aka “[X.X.X.X]” now type in your personal IPv4 address without brackets. eg- 192.168.0.1 is a common one. Ok I spose I can show you a quick way to find that in (step 4) if you know your IPv4 address skip Step 4 okay?

Step 4:
go to lower left corner of your desktop,
click the “windows icon”
click settings “cog” icon just above the power icon
click “Network & Internet”
click either “Ethernet” or “WiFi” on left side. (however you connect to the internet)
click “Network/connected” icon which is not blue, it is black so it doesn’t look like it will do anything. as for wifi I do not know what that one looks like but I’m sure you can find it.
THERE IT IS, YOUR (IPv4 address) Type replace my [X.X.X.X] with it, no brackets

Step 5:
finish the code by typing the remainder of what I use
–rpdport 8545 –jitvm console

NOW FOR THE MOMENT OF TRUTH…PRESS ENTER!!! and wait for a min or so lol

D:\geth.exe –rpc –fast –cache=512 –rpcaddr 192.168.1.14 –rpcport 8545 –jitvm console

OR

D:\geth.exe –rpc –fast –cache=512 –rpcaddr 192.168.1.14 –rcport 8545

OR

D:\geth.exe –rpc –rpcaddr 192.168.1.14 –rpcport 8545

NOTE!!!: single space between the command language when typing AND this is to set up for single/solo mining. All three varients worked for me, I’m using the longer one.
TO LET YOU GUYS KNOW I am a single parent on a budget, I trying to find new ways to make money. I will not be pool mining if this doesn’t work out for me so FEEL FREE TO SEND ME ETHER!!! as a simple tip or thanks for helping you out :)

my wallet recieving address:

0x093FFfbd487cbD52779687965B015c7930DdCEF7

my secondary one I made by mistake lol but I think it will also work

0x1022F73532642caa9dCe9A46a850C71caE1012Ce

THANKS FOR READING, I KNOW I’M LONG WINDED, LATER

Marko

October 25th, 2017 at 17:49

This blog post helped me mine 19 ETH, I gotta tip the author.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值