Bitcoin Forum
May 13, 2024, 07:00:32 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: NOOB QUESTION. When using miner CLI do I put the receiving address of my wallet?  (Read 224 times)
syn00ack (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 2


View Profile
July 12, 2019, 09:07:55 PM
Merited by LoyceV (1), nc50lc (1)
 #1

I just want to make sure when I'm in a mining pool and using CLI CGminer that I'm sending the payout to the right place!

For example:
My electrum wallet has multiple "receiving addresses" they all start with bc1xxxxxxxxxxxxxxxxxxxxxxxx.

Is that what I put in as the username in cgminer?

For example, is this correct?
If my receiving address is bc1XXXXX, then my bat file should read:

cgminer.exe -o stratum+tcp://pool.ckpool.org:3333 --suggest-diff 128 -u bc1XXXXX -p x

username "-u" is basically the entire receiving address in electrum wallet? And I can use any one of them since there are multiple ones?

Thanks for your assistance.
1715583632
Hero Member
*
Offline Offline

Posts: 1715583632

View Profile Personal Message (Offline)

Ignore
1715583632
Reply with quote  #2

1715583632
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715583632
Hero Member
*
Offline Offline

Posts: 1715583632

View Profile Personal Message (Offline)

Ignore
1715583632
Reply with quote  #2

1715583632
Report to moderator
AdolfinWolf
Legendary
*
Offline Offline

Activity: 1946
Merit: 1427


View Profile
July 12, 2019, 09:14:00 PM
Last edit: July 12, 2019, 09:24:04 PM by AdolfinWolf
Merited by nc50lc (2), joniboini (1)
 #2

That depends on the pool whether you can use a btc adress as your user login

Looking at the pool, it says the following:

Code: (http://ckpool.org/#/)
Set your username to your btcaddress with any or even no worker extension, and any password.
eg: cgminer -o stratum+tcp://pool.ckpool.org:3333 -u 1PKN98VN2z5gwSGZvGKS2bj8aADZBkyhkZ.0 -p x


So, any adress you control the private keys over should do.


Quote
username "-u" is basically the entire receiving address in electrum wallet? And I can use any one of them since there are multiple ones?
yes.




One thing i forgot to note: the bech32 adresses  (bc1xxxxxx), are *relatively* new. It could be that ckpool doesn't recognize them yet..?

In which case you should probably create a nested electrum segwit wallet.
You can still create these P2SH wallets using a quite unorthodox method described here -> https://bitcoinelectrum.com/creating-a-p2sh-segwit-wallet-with-electrum/

EDIT:
I do think they support native segwit by the looks of this post ->
Dumb question but does this pool support overt ASICBOOST?

Yep, dumb question.  Smiley

This pool was the pioneer of overt ASIC Boost.

And native segwit addresses Smiley

So you shouldn't have to do all of the above.

syn00ack (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 2


View Profile
July 12, 2019, 09:24:11 PM
 #3

Thank you for your assistance!

I ran my batch file with the BC1 address and it looks like it connected. It says "Pool message: Authorised, welcome to ckpool.org bc1xxxxxxxxxxx"

Since it says authorized and not rejected, I'm assuming its a valid address for ckpool and that ckpool can accept segwit wallet addresses for payout?

Here is the CLI copy paste:
 Connected to pool.ckpool.org diff 10K with stratum as user bc1qhafs8tl4nnuux0udhn05mmz8y3edn7zzfegpfs292k0xkm69gnfqpfl8
 Block: b9ed9d81...  Diff:9.06T  Started: [17:10:57.027]  Best share: 141
--------------------------------------------------------------------------------
 SB management [P]ool management ettings [D]isplay options [Q]uit
 0: GSH 10032248: BM1387:02+ 100.00MHz T:100 P:94  (375:188) |  100% WU:^92% | 25.28G / 21.06Gh/s WU:294.2/m
--------------------------------------------------------------------------------
 [2019-07-12 17:10:56.651] Started cgminer 4.11.1
 [2019-07-12 17:10:56.658] Probing for an alive pool
 [2019-07-12 17:10:56.928] Pool 0 difficulty changed to 10000
 [2019-07-12 17:10:56.977] Pool 0 message: Authorised, welcome to ckpool.org bc1qhafs8tl4nnuux0udhn05mmz8y3edn7zzfegpfs2
92k0xkm69gnfqpfl86h!

 [2019-07-12 17:10:57.026] Pool 0 difficulty changed to 128
 [2019-07-12 17:10:57.026] Network diff set to 9.06T
 [2019-07-12 17:10:57.913] 0: GSH 0 - Toggling ASIC nRST to reset
 [2019-07-12 17:10:58.178] 0: GSH 0 - NewPac Bitcoin Miner (10032248)
AdolfinWolf
Legendary
*
Offline Offline

Activity: 1946
Merit: 1427


View Profile
July 14, 2019, 11:27:22 AM
 #4

Thank you for your assistance!

I ran my batch file with the BC1 address and it looks like it connected. It says "Pool message: Authorised, welcome to ckpool.org bc1xxxxxxxxxxx"

Since it says authorized and not rejected, I'm assuming its a valid address for ckpool and that ckpool can accept segwit wallet addresses for payout?

I don't see any errors, so i would assume so, yes.

I'm not exactly an expert on this though.

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!