Bitcoin Forum
November 07, 2024, 10:54:32 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: QUESTIONS: Concerning CKPOOL proxy and running a server.  (Read 82 times)
kai-made (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
February 10, 2022, 09:33:05 PM
 #1

Hey all, not sure if this is the correct spot to post, but I am gonna try.

I am wanting some insight on whether a thing is doable or not. 

<<<THE THING>>>

I have an Azure Ubuntu server(latest) running, and I grabbed CKPOOL and required libraries, and have successfully got it working with a couple remote USB ASIC miners.  Having some difficulty sorting the various proxy/passthrough modes, but that is not terribly relevent.

My question is how would I go about allowing others to join this proxy, and be able to display stats?  It is open and I can join, would just need them to do the same process to get connected right?  Okay, if that is the case, then can I lower the difficulty below 1?  I am obviously a bit of a newbie to this part of the puzzle, but my goal is to allow folks to mine with more "lottery" style/older mining stuff...and I don't want the connection to time out or be rejected because of difficulty.

Thanks.
BitMaxz
Legendary
*
Online Online

Activity: 3430
Merit: 3165


Playbet.io - Crypto Casino and Sportsbook


View Profile WWW
February 10, 2022, 10:55:15 PM
 #2

I don't know how do this CKpool and libraries work but what URL did you set up your USB ASIC miner?

According to their readme below, I think if you want to mine someone in your server you need to give your IP a public IP of your server with port 3333 or 3334 depending on what port you set.

Code:
"serverurl" : This is the IP(s) to try to bind ckpool uniquely to, otherwise it will attempt to bind to all interfaces in port 3333 by default in pool mode and 3334 in proxy mode. Multiple entries can be specified as an array by either IP or resolvable domain name but the executable must be able to bind to all of them and ports up to 1024 usually require privileged access.

Sample yourip:3333 or stratum+tcp://myip:3334 and give them to someone who wants to mine to your server.


I think it would be better if you bring this to their official thread here https://bitcointalk.org/index.php?topic=790323.0

███████████████
█████████████████████
██████▄▄███████████████
██████▐████▄▄████████████
██████▐██▀▀▀██▄▄█████████
████████▌█████▀██▄▄██████
██████████████████▌█████
█████████████▀▄██▀▀██████
██████▐██▄▄█▌███████████
██████▐████▀█████████████
██████▀▀███████████████
█████████████████████
███████████████

.... ..Playbet.io..Casino & Sportsbook.....Grab up to  BTC + 800 Free Spins........
████████████████████████████████████████
██████████████████████████████████████████████
██████▄▄████████████████████████████████████████
██████▐████▄▄█████████████████████████████████████
██████▐██▀▀▀██▄▄██████████████████████████████████
████████▌█████▀██▄▄█████▄███▄███▄███▄█████████████
██████████████████▌████▀░░██▌██▄▄▄██████████████
█████████████▀▄██▀▀█████▄░░██▌██▄░░▄▄████▄███████
██████▐██▄▄█▌██████████▀███▀███▀███▀███▀█████████
██████▐████▀██████████████████████████████████████
██████▀▀████████████████████████████████████████
██████████████████████████████████████████████
████████████████████████████████████████
kai-made (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
February 10, 2022, 11:04:01 PM
 #3

Thank you...I looked for an official thread but must have not seen it. Moving there...see what I see.  TY.
mikeywith
Legendary
*
Offline Offline

Activity: 2408
Merit: 6618


be constructive or S.T.F.U


View Profile
February 11, 2022, 12:28:09 AM
 #4

FYI and for some reason, CK proxy doesn't work well with other pools, I did try it a while back and it's far from stable when running on Viabtc and Binance, it did run well on Cksolo pool but did not on the two pools I tested, but do your own testing tho.


Also, I am not sure what do you mean by " able to display stats" but you do get the number of clients connected to that instance you running, and the miners that connect to you will see their status on their own Cgminer (like diff, accepted shares and all that), the proxy screen itself is just a command-line interface that displays the number of peers connected, share from x was accepted or rejected, a new block template/work is received, I doubt it logs anything unless you set up the database part.


█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
kai-made (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
February 11, 2022, 04:49:23 AM
 #5

Oh I see.  Yeah I suppose I forgot about that.  So if I were to create code that loaded the miner/pool onto their machine of choice, then I could just let them view stats from inside their terminal or command prompts...gotcha.  I think I am wanting to do away with that particular aspect and pass that information to a dashboard of sorts...one that is loaded into something like a smart home application such as Blynk or ESP Home...but perhaps a little more robust.  This is all theory so far though, I am thinking it would be cool to create some "lottery" style usb miners.  Ones that are compatible with virtually anything.  I already know that even though slow and even though they stand less of a chance than a snowball in heck ESPs and other micro controllers are capable of mining...at like 10 kH.  lol.

If I make a miner via usb with 1 or X number of ASICs on it then have code that will join that to our proxy but pass all values to a dashboard viewable anywhere...eh, maybe just spitballing.

Thanks btw.

any thoughts on whether we can lower that difficulty in ckpool.conf lower than 1?  Right now the min is 1, start is 42 and max is 0...all of which is default.  I am still not entirely sure how the difficulty plays into the scope of the entire mining thing...other than if we can lower it shares might happen a little more frequently for the antiquated or slower devices...

Again, I am basically a newbie at the pool aspect, been mining a bit but other than that...just asking questions.

Wink
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!