Pages:
Author

Topic: CKPOOL - Open source pool/proxy/passthrough/redirector/library in c for Linux - page 5. (Read 123941 times)

-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
The documentation for the proxy says:

Quote
Note that the upstream pool needs to be a ckpool for it to scale to large hashrates

Is there any guidance for what is "large" in the hashrate? Would 50 TH/s, for example, be large?


This is no longer the case. Any pool can be used upstream.
full member
Activity: 658
Merit: 118
The documentation for the proxy says:

Quote
Note that the upstream pool needs to be a ckpool for it to scale to large hashrates

Is there any guidance for what is "large" in the hashrate? Would 50 TH/s, for example, be large?

newbie
Activity: 5
Merit: 0
Well then, that explains it. I guess I assumed Bitcoin mention as generic crypto.  Huh

Any other software you're aware of that does what ckpool does, but for Scrypt or other algorithms?
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Does ckpool work as a generic stratum proxy when run in proxy mode (-p) or is this Bitcoin specific?
Documentation goes to great pains to say it's bitcoin only.
newbie
Activity: 5
Merit: 0
Does ckpool work as a generic stratum proxy when run in proxy mode (-p) or is this Bitcoin specific? Wondering as I have use to aggregate multiple Scrypt miners, want to use ckpool in proxy mode to override stratum URL as well as auth credentials enmasse for multiple miners. Have compiled and configured as follows:

Run as: ckpool -p -c ckproxy.conf -k

ckproxy.conf:
Code:
{
"proxy" :  [
        {
                "url" : "scrypt.usa.nicehash.com:3333/#xnsub",
                "auth" : "some_btc_address",
                "pass" : "x"
        },
        {
                "url" : "scrypt.usa.nicehash.com:3333/#xnsub",
                "auth" : "some_btc_address",
                "pass" : "x"
        }
],
"update_interval" : 30,
"serverurl" : [
        "192.168.2.77:3334",
        "127.0.0.1:3334"
        ],
"mindiff" : 1,
"startdiff" : 1,
"maxdiff" : 0,
"logdir" : "logs",
"loglevel" : "7"
}

Onscreen results are:
Code:
[2017-10-12 23:05:48.118] ckproxy generator starting
[2017-10-12 23:05:48.119] ckproxy connector starting
[2017-10-12 23:05:48.119] ckproxy connector ready
[2017-10-12 23:05:48.119] ckproxy stratifier starting
[2017-10-12 23:05:48.120] ckproxy stratifier ready
[2017-10-12 23:05:48.417] Proxy 0:scrypt.usa.nicehash.com:3333/#xnsub connection established
[2017-10-12 23:05:49.130] Successfully connected to pool 0 scrypt.usa.nicehash.com:3333/#xnsub as proxy
[2017-10-12 23:05:49.130] ckproxy generator ready
[2017-10-12 23:05:53.367] Proxy 1:scrypt.usa.nicehash.com:3333/#xnsub connection established
[2017-10-12 23:11:45.366] Proxy 0:scrypt.usa.nicehash.com:3333/#xnsub reconnect issue to scrypt.usa.nicehash.com:3333/#xnsub, dropping existing connection
[2017-10-12 23:11:45.367] Successfully connected to pool 1 scrypt.usa.nicehash.com:3333/#xnsub as proxy
[2017-10-12 23:11:45.373] Proxy 1:scrypt.usa.nicehash.com:3333/#xnsub reconnect issue to scrypt.usa.nicehash.com:3333/#xnsub, dropping existing connection
[2017-10-12 23:11:46.374] Successfully connected to pool 0 scrypt.usa.nicehash.com:3333/#xnsub as proxy
[2017-10-12 23:11:50.367] Proxy 0:scrypt.usa.nicehash.com:3333/#xnsub completed issued reconnection
[2017-10-12 23:11:50.374] Proxy 1:scrypt.usa.nicehash.com:3333/#xnsub completed issued reconnection
[2017-10-12 23:14:01.141] Proxy 1:scrypt.usa.nicehash.com:3333/#xnsub failed, attempting reconnect
[2017-10-12 23:14:01.150] Proxy 0:scrypt.usa.nicehash.com:3333/#xnsub reconnect issue to scrypt.usa.nicehash.com:3333/#xnsub, dropping existing connection
[2017-10-12 23:14:01.202] Proxy 0 reached max clients 1
[2017-10-12 23:14:01.251] Temporarily insufficient proxies to accept more clients
[2017-10-12 23:14:01.251] Failed to provide subscription due to no sdata
[2017-10-12 23:14:06.142] Proxy 1:scrypt.usa.nicehash.com:3333/#xnsub recovered
[2017-10-12 23:15:32.115] - 0.00H/s  0.0 SPS  1 users  1 workers

The hashrate stays at 0H/s, and I see worker connection on pool, but miner shows all rejections/discards, and toggles between alive/dead status.

Thoughts?
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
HEY -ck, 

Why wont my s-9 connect  through ckproxy?  i set up same as my s-7's and s-4+,  but i put s-9's and they will never connect>?
what am i missing?
I'm not aware of anything stopping the S9s connecting. I know people with thousands of S9s connected via ckproxy.
full member
Activity: 637
Merit: 131
HEY -ck, 

Why wont my s-9 connect  through ckproxy?  i set up same as my s-7's and s-4+,  but i put s-9's and they will never connect>?
what am i missing?
legendary
Activity: 4466
Merit: 1798
Linux since 1997 RedHat 4
Can i ask a question, i don't know if its ok to you that i posted here.
But i just want to ask if KanoCkpool.com is a legit cloud mining site?
Thankyou.
Scam:
https://bitcointalksearch.org/topic/m.20807180
member
Activity: 116
Merit: 100
Can i ask a question, i don't know if its ok to you that i posted here.
But i just want to ask if KanoCkpool.com is a legit cloud mining site?
Thankyou.
Never heard of it. Quite sure it'll be a scam, like most cloud mining is.
Thank you for the advice and answering my question.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Can i ask a question, i don't know if its ok to you that i posted here.
But i just want to ask if KanoCkpool.com is a legit cloud mining site?
Thankyou.
Never heard of it. Quite sure it'll be a scam, like most cloud mining is.
member
Activity: 116
Merit: 100
Can i ask a question, i don't know if its ok to you that i posted here.
But i just want to ask if KanoCkpool.com is a legit cloud mining site?
Thankyou.
legendary
Activity: 4466
Merit: 1798
Linux since 1997 RedHat 4
My setup has slush, kano, & solo.ckpool as proxies 0,1, & 2 respectively. Kano lost connectivity or restarted the pool a few hours ago and the proxies switched to it and stayed there for a few hours until I noticed and restarted them.

Code:
[2017-03-15 18:11:57.400] Proxy:{"current": 0, "active": 3, "total": 3}
[2017-03-15 18:12:34.834] Proxy 1:0 stratum+tcp://stratum.kano.is:3333 failed to read_socket_line in proxy_recv
[2017-03-15 18:12:34.834] Proxy 1:0 stratum+tcp://stratum.kano.is:3333 epoll hangup in proxy_recv
[2017-03-15 18:12:34.834] Proxy 1:stratum+tcp://stratum.kano.is:3333 failed, attempting reconnect
[2017-03-15 18:12:39.010] Found notify for new proxy 1:0 with enonce 159c0d5d nonce2len 8
[2017-03-15 18:12:39.010] Got updated subscribe for proxy 1
[2017-03-15 18:12:39.010] Upstream pool stratum+tcp://stratum.kano.is:3333 1 extranonce2 length 8, max proxy clients 4294967296
[2017-03-15 18:12:39.010] Stratifier setting active proxy to 1

Slush was still up and running fine the whole time judging by the logs. Is there a way to prevent this switch from happening on a pool restart?
agentcash, there's a recent commit in the public git many months later that may (or may not) have to do with your problem:
https://bitbucket.org/ckolivas/ckpool/commits/e7f36cbe4081ec9f419891aecb41c6f73e0aac2f

The commit says "Various proxy updates." so, to be blunt, is down right vague, and I've no idea why it's so vague Tongue

In the code it's to do with keeping proxy connections alive and may well be related, but I don't know.

It may help you mine less on my pool, and more on slush's pool, and thus get paid less Cheesy
(Yes the last 6 months, while you were waiting for a bug fix, on my pool have averaged 127% PPS due to luck ... https://kano.is/index.php?k=pblocks )
newbie
Activity: 2
Merit: 0
If you use screen, you have to start screen first and then
your bitcoind in daemon mode with blocknotify:
bitcoind -daemon -blocknotify=/usr/bin/notify.sh

then you must start ckpool with your wanted option like this:
ckpool -A -s /opt/ckpool

and optional the Relaynetworkclient:
./relaynetworkclient 127.0.0.1 8333

or you use the Fibrenetwork in conjunction with bitcoind 14.1 and a propper bintcoin.conf

Some Help for Screen:

screen [ENTER]
CTRL A followed by CTRL C to open another Screen console
CTRL A followed by CTRL K to kill a Screen console
to switch between screen console
CTRL A followed by N for next screen
CTRL A followed by P for previous screen

If you want to return to main console, without stopping screen and all running processes:
CTRL A followed by D to detach from screen and return to main console
( ckpool and all other stuff you started is still running in the background, you can check that with top or
htop if you have it installed )

to reconnect later to a running screen just type:
screen -r [ENTER]

sometimes that is not possible and a message appears telling you allready connected
so you type screen -d -r [ENTER]

thats all

Quote
But every time that I use one of those the process was broken

is not very helpfull, please include the complete message for fault finding next time

EDIT: like allways


Awesome thank you for your response now my ckpool is running behind using screen, I am so Happy guys, all of you are amazing, I´ll keep you posted!! Next Goal: Implement a new node using ckdb !!!
legendary
Activity: 2405
Merit: 1459
-> morgen, ist heute, schon gestern <-
If you use screen, you have to start screen first and then
your bitcoind in daemon mode with blocknotify:
bitcoind -daemon -blocknotify=/usr/bin/notify.sh

then you must start ckpool with your wanted option like this:
ckpool -A -s /opt/ckpool

and optional the Relaynetworkclient:
./relaynetworkclient 127.0.0.1 8333

or you use the Fibrenetwork in conjunction with bitcoind 14.1 and a propper bitcoin.conf

Some Help for Screen:

screen [ENTER]
CTRL A followed by CTRL C to open another Screen console
CTRL A followed by CTRL K to kill a Screen console
to switch between screen console
CTRL A followed by N for next screen
CTRL A followed by P for previous screen

If you want to return to main console, without stopping screen and all running processes:
CTRL A followed by D to detach from screen and return to main console
( ckpool and all other stuff you started is still running in the background, you can check that with top or
htop if you have it installed )

to reconnect later to a running screen just type:
screen -r [ENTER]

sometimes that is not possible and a message appears telling you allready connected
so you type screen -d -r [ENTER]

thats all

Quote
But every time that I use one of those the process was broken

is not very helpfull, please include the complete message for fault finding next time

EDIT: like allways typo
newbie
Activity: 2
Merit: 0
Awesome, Thank you, guys!!! Full Node running !!!, I am a Happy Panda lol, Guys I need a recommendation, what is the best option to run this like a behind process and close my terminal without killing the process, I try it using:

-  screen, Forever, pm2, & option, etc .. etc ..

But every time that I use one of those the process was broken, I need help to apply the best practice doing this last step.

Thank you in advance.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Oh no did i lost you on technical problems? "Cannot send to channel #ckpool" Nou! What is wrong with it? I use data cloud.
I dont have purpose to trolling or anything like that  Huh Technical data is important to me and if you need ask something. Sad
The IRC channel was under attack and moderation of the whole channel had to be turned on to manage it. This has been rectified now.
hero member
Activity: 1061
Merit: 501
RIP: S5, A faithful device long time
Oh no did i lost you on technical problems? "Cannot send to channel #ckpool" Nou! What is wrong with it? I use data cloud.
I dont have purpose to trolling or anything like that  Huh Technical data is important to me and if you need ask something. Sad
newbie
Activity: 20
Merit: 0
Thank you for your answer.. I found it a bit arrogant, but a answer anyway.
I'm not running the pool, I'm trying to help out friends in Asia, that dont understand English to good.

I would find your answer more helpful if it actually contained some info about the problem.

The only good information i got from your post, is that its maybe not a good idea to run CKpool with 'just' 70 units of Antminer S9. I will let the right persons know.

I know they are waiting to get a confirmation that the CKpool works, and they will purchase another 1000 units.

Have a nice day, regards Jan.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Hi guys, I hope this is the right thread to submit a question.
We have successfully installed, and started CKpool, but only in Standalone mode. It doesn't seems like we are receving any blocks, so i want to start the pool in regular mode. we have installed DB, so that should be ok. The problem is when we start with just ckpool, we can connect any workers.
I know im a noob in this, so Im hoping to get some tips of what could be wrong. Im helping out a freind in Asia, that have 70 units of Antminer S9 ready.
Any input would be helpful. Im not sure about the directory permissions and also the correct syntax to startup the pool.

There are so little information about CKpool and how to run it.
The documentation is all in the ckpool readme for running it in standalone mode and it is well documented. If that is not clear enough then can I suggest you're probably not skilled enough to run a pool? If you're not finding blocks then you're not finding blocks; perhaps you don't even understand that 70 Antminer S9s is an extremely small hashrate to find blocks by today's standards.
newbie
Activity: 20
Merit: 0
Hi guys, I hope this is the right thread to submit a question.
We have successfully installed, and started CKpool, but only in Standalone mode. It doesn't seems like we are receving any blocks, so i want to start the pool in regular mode. we have installed DB, so that should be ok. The problem is when we start with just ckpool, we can connect any workers.
I know im a noob in this, so Im hoping to get some tips of what could be wrong. Im helping out a freind in Asia, that have 70 units of Antminer S9 ready.
Any input would be helpful. Im not sure about the directory permissions and also the correct syntax to startup the pool.

There are so little information about CKpool and how to run it.

Please help! Smiley
Pages:
Jump to: