https://github.com/Vesterberg/EthminerBatchscriptsBinaries are included but feel free to replace them with binaries from the cpp-ethereum and go-ethereum releases
It takes 5 steps
Download and extract the repo .zip file
Setup-1-CreateNewAccountGeth.bat
^ Greate account
Setup-2-MakeAccount0MiningBenefactor30Seconds.bat
^ Assign account as mining rewards benefactor
Use-1-StartGethSendWorkpackets128MaxPeersLogConsole.bat
^ Starts Geth console, sends work packets, connects to max 128 peers, and logs geth output to geth.log
Use-2-StartEthminerGPU.bat
^ Starts ethminer mining on the local geth node
Use-2-StartEthminerGPUethpoolorg.bat
^ Starts mining on ethpool, remember to change the ether address to your own
Comments
is it obligate?
my node works with
geth.exe --genesis c:\ether\genesis_block.json --rpc --rpcaddr "127.0.0.1" --rpcport 8545 --rpccorsdomain "*" --maxpeers "128" --nat "any" --etherbase "0xmyaccountaddress"
Does it equal to your syntax?
geth.exe --genesis c:\ether\genesis_block.json --rpc --rpcaddr "127.0.0.1" --rpcport 8545 --rpccorsdomain "*" --maxpeers "128" --nat "any" --etherbase "0xmyaccountaddress"
"--genesis c:\ether\genesis_block.json" is not needed anymore
geth.exe --rpc --rpcaddr "127.0.0.1" --rpcport 8545 --rpccorsdomain "*" --maxpeers "128" --nat "any" --etherbase "0xmyaccountaddress"
"--rpc" distributes work packets
"--rpcaddr "127.0.0.1" --rpcport 8545 --rpccorsdomain "*"" <- Im not sure about this one. It distributes work packets to that address, or from that address? Anyway, probably not needed for a local machine geth node
geth.exe --rpc --maxpeers "128" --nat "any" --etherbase "0xmyaccountaddress"
"--maxpeers "128" " < Yep matches
geth.exe --rpc --maxpeers "128" --nat "any" --etherbase "0xmyaccountaddress"
"--nat "any"" <I dont recognize that command, What does it do?
"--etherbase "0xmyaccountaddress"" < Im guessing that this is the same as geth "--exec "miner.setEtherbase(eth.accounts[0])"". You dont need that if you launch geth more than once unless you want to change it to another adress.
geth.exe --rpc --maxpeers "128"
Yeah, it equals my syntax. I dropped the .exe since it isnt needed.