Author

Topic: QUESTIONS: Concerning CKPOOL proxy and running a server. (Read 66 times)

newbie
Activity: 7
Merit: 0
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
legendary
Activity: 2170
Merit: 6279
be constructive or S.T.F.U
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.

newbie
Activity: 7
Merit: 0
Thank you...I looked for an official thread but must have not seen it. Moving there...see what I see.  TY.
legendary
Activity: 3234
Merit: 2943
Block halving is coming.
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://bitcointalksearch.org/topic/ckpool-open-source-poolproxypassthroughredirectorlibrary-in-c-for-linux-790323
newbie
Activity: 7
Merit: 0
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. 

<<>>

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.
Jump to: