Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: Deki1904 on March 26, 2016, 12:46:26 AM



Title: Geth Command
Post by: Deki1904 on March 26, 2016, 12:46:26 AM
hey, when i use geth to start mining do i need to put "" when i add my address like this in terminal? geth --etherbase "0xa073edbcac4a489c3c0f71ec50dd6ffcefa49a00" or without "" geth --etherbase 0xa073edbcac4a489c3c0f71ec50dd6ffcefa49a00


Title: Re: Geth Command
Post by: sirslayer on March 26, 2016, 01:13:07 AM
I use geth --rpc console and I open another CLI and start ethminer -G -F
since you are trying to solo mine??   no wallet address is required


Title: Re: Geth Command
Post by: Deki1904 on March 26, 2016, 08:59:48 AM
I use geth --rpc console and I open another CLI and start ethminer -G -F
since you are trying to solo mine??   no wallet address is required

Okay and where I set up then a address?
In ethminer? 


Title: Re: Geth Command
Post by: Orielres on March 27, 2016, 11:28:32 AM
I use geth --rpc console and I open another CLI and start ethminer -G -F
since you are trying to solo mine??   no wallet address is required

Okay and where I set up then a address?
In ethminer? 

Yes. some thing like:

ethminer --cl-global-work 16384  --cl-local-work 64 --farm-recheck 200 -G -F http://192.168.1.101:8080/rig1


Title: Re: Geth Command
Post by: samasas on March 28, 2016, 06:28:20 AM
I use geth --rpc console and I open another CLI and start ethminer -G -F
since you are trying to solo mine??   no wallet address is required

Okay and where I set up then a address?
In ethminer? 

Maybe:
ethminer -G --cl-global-work 16384  --cl-local-work 64 -s eu1.ethpool.org:3333 -u 0xaddress.rig1


Title: Re: Geth Command
Post by: sirslayer on March 31, 2016, 12:27:42 AM
if you ran geth correctly on the first run.. you will get an address you keep forever..  well you got to know how to store it..  here is the link ..  https://github.com/ethereum/go-ethereum/wiki/Managing-your-accounts

creating an account

$ geth account new
Your new account is locked with a password. Please give a password. Do not forget this password.
Passphrase:
Repeat Passphrase:
Address: {168bc315a2ee09042d83d7c5811b533620531f67}
Listing accounts

$ geth account list
Account #0: {a94f5374fce5edbc8e2a8697c15331677e6ebf0b}
Account #1: {c385233b188811c9f355d4caec14df86d6248235}
Account #2: {7f444580bfef4b9bc7e14eb7fb2a029336b07c9d}
Import private key

$ geth --datadir /someOtherEthDataDir  account import ./key.prv
The new account will be encrypted with a passphrase.
Please enter a passphrase now.
Passphrase:
Repeat Passphrase:
Address: {7f444580bfef4b9bc7e14eb7fb2a029336b07c9d}
Account update

$ geth account update a94f5374fce5edbc8e2a8697c15331677e6ebf0b
Unlocking account a94f5374fce5edbc8e2a8697c15331677e6ebf0b | Attempt 1/3
Passphrase:
0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b
Account 'a94f5374fce5edbc8e2a8697c15331677e6ebf0b' unlocked.
Please give a new password. Do not forget this password.
Passphrase:
Repeat Passphrase:
0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b


Title: Re: Geth Command
Post by: sirslayer on March 31, 2016, 12:32:04 AM
geth and ethminer are two different programs.. geth has a built in proxy and wallet while ethminer can access public pools and/or solo mining from geth. when you solo mine you dont need an address when running a miner like ethminer


Title: Re: Geth Command
Post by: Bazelak on March 31, 2016, 09:37:51 AM
geth and ethminer are two different programs.. geth has a built in proxy and wallet while ethminer can access public pools and/or solo mining from geth. when you solo mine you dont need an address when running a miner like ethminer

You still need a wallet in the keystore folder. Otherwise, you will lose the block you mine as it is no where to send the mined block.