Bitcoin Forum
May 23, 2024, 04:32:55 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Geth Command  (Read 866 times)
Deki1904 (OP)
Sr. Member
****
Offline Offline

Activity: 490
Merit: 250


View Profile
March 26, 2016, 12:46:26 AM
 #1

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
sirslayer
Hero Member
*****
Offline Offline

Activity: 540
Merit: 501


chickens and cryptos


View Profile
March 26, 2016, 01:13:07 AM
 #2

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
Deki1904 (OP)
Sr. Member
****
Offline Offline

Activity: 490
Merit: 250


View Profile
March 26, 2016, 08:59:48 AM
 #3

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? 
Orielres
Newbie
*
Offline Offline

Activity: 61
Merit: 0


View Profile
March 27, 2016, 11:28:32 AM
 #4

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
samasas
Newbie
*
Offline Offline

Activity: 55
Merit: 0


View Profile
March 28, 2016, 06:28:20 AM
 #5

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
sirslayer
Hero Member
*****
Offline Offline

Activity: 540
Merit: 501


chickens and cryptos


View Profile
March 31, 2016, 12:27:42 AM
 #6

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
sirslayer
Hero Member
*****
Offline Offline

Activity: 540
Merit: 501


chickens and cryptos


View Profile
March 31, 2016, 12:32:04 AM
 #7

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
Bazelak
Full Member
***
Offline Offline

Activity: 221
Merit: 100


View Profile
March 31, 2016, 09:37:51 AM
 #8

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.

▃▄▅▆▇ STOX -  ETH based Prediction Market ▇▆▅▄▃
▂▃▅▆▆▆▆▆▆▆▆▆▆▆▆▆ Token Sale   ▆▆▆▆▆▆▆▆▆▆▆▆▆▅▃▂
Whitepaper | ANN | Bounty | Telegram | Twitter | Website
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!