Pages:
Author

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

legendary
Activity: 1610
Merit: 1000
Slightly off-topic; but is there a list of known public ckpool pools that can be used as upstream pools for private pools ?
I think the only two public ckpools are kano's pooled mining and my solo pooled mine; kano.is and solo.ckpool.org . I'm aware of private farms using ckpool either in pool, proxy or passthrough mode, but I'm not aware of any other public ckpools.
And http://tbdice.org
Now that you mention it, I think westhash's solo pool also uses ckpool.
I think so Yes they do. ...
 
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Slightly off-topic; but is there a list of known public ckpool pools that can be used as upstream pools for private pools ?
I think the only two public ckpools are kano's pooled mining and my solo pooled mine; kano.is and solo.ckpool.org . I'm aware of private farms using ckpool either in pool, proxy or passthrough mode, but I'm not aware of any other public ckpools.
And http://tbdice.org
Now that you mention it, I think westhash's solo pool also uses ckpool.
legendary
Activity: 1610
Merit: 1000
Slightly off-topic; but is there a list of known public ckpool pools that can be used as upstream pools for private pools ?
I think the only two public ckpools are kano's pooled mining and my solo pooled mine; kano.is and solo.ckpool.org . I'm aware of private farms using ckpool either in pool, proxy or passthrough mode, but I'm not aware of any other public ckpools.
And http://tbdice.org
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Slightly off-topic; but is there a list of known public ckpool pools that can be used as upstream pools for private pools ?
I think the only two public ckpools are kano's pooled mining and my solo pooled mine; kano.is and solo.ckpool.org . I'm aware of private farms using ckpool either in pool, proxy or passthrough mode, but I'm not aware of any other public ckpools.
member
Activity: 193
Merit: 10
Slightly off-topic; but is there a list of known public ckpool pools that can be used as upstream pools for private pools ?
newbie
Activity: 7
Merit: 0
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
While running some tests on the pool software, I see lots of clients being dropped.

What do you make of this:

[2015-07-17 02:33:05.328] Client id 753 fd 22 RDHUP in epoll
[2015-07-17 02:33:05.329] Connector dropped client 753 fd 22
[2015-07-17 02:33:05.329] Opened client path /tmp/ckpool/stratifier successfully on socket 14
[2015-07-17 02:33:05.329] Closing file handle 14
[2015-07-17 02:33:05.329] Closing file handle 9
[2015-07-17 02:33:05.329] Connector recycling client 750
[2015-07-17 02:33:05.329] Closing file handle 744
[2015-07-17 02:33:05.329] Stratifier received request: dropclient=753
[2015-07-17 02:33:05.329] Stratifier asked to drop client 753
[2015-07-17 02:33:05.329] Dropped client 753 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Is this normal behavior or a problem?


If your clients are disconnecting, they're disconnecting from their end... there's nothing a pool can do to force them to stay connected.
newbie
Activity: 7
Merit: 0
While running some tests on the pool software, I see lots of clients being dropped.

What do you make of this:

[2015-07-17 02:33:05.328] Client id 753 fd 22 RDHUP in epoll
[2015-07-17 02:33:05.329] Connector dropped client 753 fd 22
[2015-07-17 02:33:05.329] Opened client path /tmp/ckpool/stratifier successfully on socket 14
[2015-07-17 02:33:05.329] Closing file handle 14
[2015-07-17 02:33:05.329] Closing file handle 9
[2015-07-17 02:33:05.329] Connector recycling client 750
[2015-07-17 02:33:05.329] Closing file handle 744
[2015-07-17 02:33:05.329] Stratifier received request: dropclient=753
[2015-07-17 02:33:05.329] Stratifier asked to drop client 753
[2015-07-17 02:33:05.329] Dropped client 753 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Is this normal behavior or a problem?

newbie
Activity: 11
Merit: 0
Dear All

I configured the ckpool and it is work right .
But I have a problem with web interface .
I appreciate if someone provide me a web configuration manual
or how we can connect the interface to ckpool

Regards
sr. member
Activity: 268
Merit: 258
I'm trying to set up the whole thing as a test and learning experience, and when I try to start ckdb, I always get this error
Code:
check_db_version(): Select failed (7) 'ERROR:  relation "version" does not exist LINE 1: select version() as pgv,* from version;
Why? I can see that that table doesn't exist in the database. Won't ckdb set up all of its necessary tables by itself?
There are scripts in the sql/ folder ... have a look at them.
Ah. I see. thanks.
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
I'm trying to set up the whole thing as a test and learning experience, and when I try to start ckdb, I always get this error
Code:
check_db_version(): Select failed (7) 'ERROR:  relation "version" does not exist LINE 1: select version() as pgv,* from version;
Why? I can see that that table doesn't exist in the database. Won't ckdb set up all of its necessary tables by itself?
There are scripts in the sql/ folder ... have a look at them.
sr. member
Activity: 268
Merit: 258
I'm trying to set up the whole thing as a test and learning experience, and when I try to start ckdb, I always get this error
Code:
check_db_version(): Select failed (7) 'ERROR:  relation "version" does not exist LINE 1: select version() as pgv,* from version;
Why? I can see that that table doesn't exist in the database. Won't ckdb set up all of its necessary tables by itself?
sr. member
Activity: 392
Merit: 250
TimSweat
Think I might stick my s1 on it for a few months and see if I get very very lucky . lmao , probably not but we will see .
legendary
Activity: 1218
Merit: 1001
Thanks.  Agreed.  Was just wondering if it would make more sense for a high speed node network.  But the more I think about it, the less centralized it becomes and that doesn't seem like a good thing.  I really like the implementation of CKPool.  I was running a full node earlier, but my cap is 350gb and with the household, I come really close to that with one running.
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
Well the answer is 2 fold ...

Indeed why would such a restriction exist? It doesn't. Look at the sample ckpool.conf
https://bitbucket.org/ckolivas/ckpool/src/580cf3a2b29a2a5e585cc3fb86fb6bf3ac86fef4/ckpool.conf?at=master
The first thing in there ... "btcd"

However, going remote to do getblocktemplate? Youch.

GBT is (lack of) designed for local access only.
https://github.com/bitcoin/bitcoin/issues/1985#issuecomment-10061729

If you start adding extra delays to work generation - that would be a bad idea.

A pool should have a local bitcoind.
If you are trying to run a pool on low performance hardware, then expect to lose out because of that.
legendary
Activity: 1218
Merit: 1001
Ok, since there's no such thing as stupid questions... Smiley

Can a pool get it's block info from any node that's port 8333 is open?  I realize most run their own node, but just curious.

Heading over to page 1 again in case it states it there.

Edit:  Ok, guess not.  Pools look at 8332?

Maybe I'm missing something, but why wouldn't we want pools to be able to get info from any node?
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
... or you can just read the hourly logs/ckdbYYYYMMDDHH.log files that ckpool can create.
legendary
Activity: 1218
Merit: 1001
I was kind of curious before trying to install CKPool to play around with.  What kind of share logs does it produce or the format of them?
By default it doesn't log shares unless you enable the -L | --log-shares option.

If you do enable share logging it creates subdirectories for each stratum work update and a sharelog entry, eg:
logs/00058798/558b38ff00000000.sharelog     

each share is logged and looks like this:

Code:
{"workinfoid": 6164083182854471680, "enonce1": "00398b55", "clientid": 1, "createinet": "localhost:3333", "workername": "a", "createdate": "1435187472,294148559", "nonce2": "030000", "ntime": "558b38ff", "diff": 1.0, "result": true, "nonce": "9ffc0151", "hash": "00000000b2768b34f5af2ddcb197fbb8e30e2f2cdf9052bc23884de4fe6e86b1", "sdiff": 1.4344486271514834, "errn": 0, "createby": "code", "createcode": "parse_submit", "username": "a"}  

Thanks for the post.  That was exactly what I wanted to know.  For my own playing around, I didn't want to have to deal with a database.  The logs look like they would be fine for importing csv info to calc if I wanted.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
I was kind of curious before trying to install CKPool to play around with.  What kind of share logs does it produce or the format of them?
By default it doesn't log shares unless you enable the -L | --log-shares option.

If you do enable share logging it creates subdirectories for each stratum work update and a sharelog entry, eg:
logs/00058798/558b38ff00000000.sharelog     

each share is logged and looks like this:

Code:
{"workinfoid": 6164083182854471680, "enonce1": "00398b55", "clientid": 1, "createinet": "localhost:3333", "workername": "a", "createdate": "1435187472,294148559", "nonce2": "030000", "ntime": "558b38ff", "diff": 1.0, "result": true, "nonce": "9ffc0151", "hash": "00000000b2768b34f5af2ddcb197fbb8e30e2f2cdf9052bc23884de4fe6e86b1", "sdiff": 1.4344486271514834, "errn": 0, "createby": "code", "createcode": "parse_submit", "username": "a"}  
legendary
Activity: 1218
Merit: 1001
I was kind of curious before trying to install CKPool to play around with.  What kind of share logs does it produce or the format of them?
Pages:
Jump to: