ComputerGenie
|
|
January 31, 2018, 06:04:02 PM |
|
...CK it would be good if you would host a "pre-built" proxy that requires not to be compiled it would help a lot.
He wrote it for you, the least you can do is type 4 lines and compile it specific to your OS and build
|
If you have to ask "why?", you wouldn`t understand my answer. Always be on the look out, because you never know when you'll be stalked by hit-men that eat nothing but cream cheese....
|
|
|
1Dev
Newbie
Offline
Activity: 14
Merit: 0
|
|
January 31, 2018, 06:09:42 PM |
|
...CK it would be good if you would host a "pre-built" proxy that requires not to be compiled it would help a lot.
He wrote it for you, the least you can do is type 4 lines and compile it specific to your OS and build I read the instructions it talks of linux os. I am not coder so some advice on compile on windows would help, I do not understand what "packages" it require or how to install them.
|
|
|
|
ComputerGenie
|
|
January 31, 2018, 06:23:54 PM |
|
...I am not coder so some advice on compile on windows would help, ...
Ultra low overhead massively scalable multi-process, multi-threaded modular bitcoin mining pool, proxy, passthrough, library and database interface in c for Linux. ... BUILDING:
Building ckpool standalone without ckdb has no dependencies outside of the basic build tools on any linux installation
|
If you have to ask "why?", you wouldn`t understand my answer. Always be on the look out, because you never know when you'll be stalked by hit-men that eat nothing but cream cheese....
|
|
|
|
ComputerGenie
|
|
January 31, 2018, 06:58:23 PM |
|
...If I build virtual machine with ubuntu can build this and run from VM would this work?
Yes, you just have to point the miners to the local IP of the vm.
|
If you have to ask "why?", you wouldn`t understand my answer. Always be on the look out, because you never know when you'll be stalked by hit-men that eat nothing but cream cheese....
|
|
|
Rambo9999
Newbie
Offline
Activity: 3
Merit: 0
|
|
January 31, 2018, 08:59:00 PM |
|
That's for normal pools. This is the solo pool where you get all or nothing. Can you a little better explanation. So that means if connect s9 antminers on the solo pool I will not get daily money but will have a chance to solo got 12 BTC if find chain block. Are there is no way to get both? bump, any answer please. Are have the way to get both regular earning and chain block?
|
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4228
Merit: 1644
Ruu \o/
|
|
January 31, 2018, 09:08:50 PM |
|
That's for normal pools. This is the solo pool where you get all or nothing. Can you a little better explanation. So that means if connect s9 antminers on the solo pool I will not get daily money but will have a chance to solo got 12 BTC if find chain block. Are there is no way to get both? bump, any answer please. Are have the way to get both regular earning and chain block? Mine in 2 pools instead of just this one.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
1Dev
Newbie
Offline
Activity: 14
Merit: 0
|
|
January 31, 2018, 10:38:13 PM Last edit: February 01, 2018, 11:53:40 AM by 1Dev |
|
I have built the ck software up and launched it with. /Desktop/ck/src$ sudo ./ckpool -A -p [2018-01-31 14:29:10.920] ckproxy generator starting [2018-01-31 14:29:10.921] ckproxy stratifier starting [2018-01-31 14:29:10.922] ckproxy stratifier ready [2018-01-31 14:29:10.922] ckproxy connector starting [2018-01-31 14:29:10.923] ckproxy connector ready [2018-01-31 14:29:11.515] Proxy 1:solo.ckpool.org:3333 connection established [2018-01-31 14:29:11.654] Proxy 0:de.ckpool.org:3333 connection established [2018-01-31 14:29:11.932] Successfully connected to pool 0 de.ckpool.org:3333 as proxy [2018-01-31 14:29:11.932] ckproxy generator ready [2018-01-31 14:31:12.260] / 0.00H/s 0.0 SPS 0 users 0 workers I pointed my miners at the ip of the VM but no connection is showing. netstat -p Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 192.168.88.121:31924 destratum.ckpool.o:3333 ESTABLISHED - tcp 0 0 192.168.88.121:51718 45.59.68.74:3333 ESTABLISHED ckproxy.conf { "proxy" : [ { "url" : "de.ckpool.org:3333", "auth" : "BTCaddress", "pass" : "x" }, { "url" : "solo.ckpool.org:3333", "auth" : "BTCaddress", "pass" : "x" } ], "update_interval" : 30, "serverurl" : [ "192.168.88.121:3334", "127.0.0.1:3334" ], "mindiff" : 1, "startdiff" : 42, "maxdiff" : 0, "logdir" : "logs" } Comments from here on are ignored. I missing a step somewhere?
|
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4228
Merit: 1644
Ruu \o/
|
|
January 31, 2018, 10:41:00 PM |
|
I have built the ck software up and launched it with. I pointed my miners at the ip of the VM but no connection is showing. netstat -p Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 192.168.88.128:36924 destratum.ckpool.o:3333 ESTABLISHED - tcp 0 0 192.168.88.128:50718 45.59.68.74:3333 ESTABLISHED ckproxy.conf { "proxy" : [ { "url" : "de.ckpool.org:3333", "auth" : "BTCaddress", "pass" : "x" }, { "url" : "solo.ckpool.org:3333", "auth" : "BTCaddress", "pass" : "x" } ], "update_interval" : 30, "serverurl" : [ "192.168.88.128:3334", "127.0.0.1:3334" ],
I missing a step somewhere? See the port you have configured on your proxy is 3334?
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
1Dev
Newbie
Offline
Activity: 14
Merit: 0
|
|
January 31, 2018, 10:47:41 PM Last edit: February 01, 2018, 12:48:59 AM by 1Dev |
|
Solved
Edit:
I needed to change the VM to Bridged mode now seeing workers connect. Is there a way to display the output from proxy with argument when launching?
|
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4228
Merit: 1644
Ruu \o/
|
|
February 01, 2018, 12:57:04 AM |
|
Is there a way to display the output from proxy with argument when launching?
The hashrate shows on the command line where you started the proxy. What output were you expecting?
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
1Dev
Newbie
Offline
Activity: 14
Merit: 0
|
|
February 01, 2018, 01:08:48 AM |
|
When I used other proxy I see info like this
proxy client_service.handle_event # New job 5a71009a00000337 for prevhash 32f68c23, clean_jobs=False 2018-01-31 12:02:39,645 INFO proxy stratum_listener.submit # [171ms] Share from '16Ev9GsHwwv5ycdvkWdHuDHCQmLuPzpqRk' accepted, diff 4000 2018-01-31 12:03:03,272 INFO proxy stratum_listener.submit # [173ms] Share from '16Ev9GsHwwv5ycdvkWdHuDHCQmLuPzpqRk' accepted, diff 4000
Is there way to see this output from ck proxy?
|
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4228
Merit: 1644
Ruu \o/
|
|
February 01, 2018, 01:11:09 AM |
|
When I used other proxy I see info like this
proxy client_service.handle_event # New job 5a71009a00000337 for prevhash 32f68c23, clean_jobs=False 2018-01-31 12:02:39,645 INFO proxy stratum_listener.submit # [171ms] Share from '16Ev9GsHwwv5ycdvkWdHuDHCQmLuPzpqRk' accepted, diff 4000 2018-01-31 12:03:03,272 INFO proxy stratum_listener.submit # [173ms] Share from '16Ev9GsHwwv5ycdvkWdHuDHCQmLuPzpqRk' accepted, diff 4000
Is there way to see this output from ck proxy?
In the logs in logs/ckproxy.log You can follow the log continuously on another console with tail -f logs/ckproxy.log
If you want more verbose data with logging of every share stupidly like that, you can start ckproxy in verbose mode with -l 6
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
1Dev
Newbie
Offline
Activity: 14
Merit: 0
|
|
February 01, 2018, 01:17:09 AM |
|
When I used other proxy I see info like this
proxy client_service.handle_event # New job 5a71009a00000337 for prevhash 32f68c23, clean_jobs=False 2018-01-31 12:02:39,645 INFO proxy stratum_listener.submit # [171ms] Share from '16Ev9GsHwwv5ycdvkWdHuDHCQmLuPzpqRk' accepted, diff 4000 2018-01-31 12:03:03,272 INFO proxy stratum_listener.submit # [173ms] Share from '16Ev9GsHwwv5ycdvkWdHuDHCQmLuPzpqRk' accepted, diff 4000
Is there way to see this output from ck proxy?
In the logs in logs/ckproxy.log You can follow the log continuously on another console with tail -f logs/ckproxy.log
If you want more verbose data with logging of every share stupidly like that, you can start ckproxy in verbose mode with -l 6 Only way to learn is to watch for someone who never used Linux before and being new to this I would like to log output to view it. Do I need ckdb for this logging as I installed with the --without flag and logs folder seems to be protected. Sorry for many questions.
|
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4228
Merit: 1644
Ruu \o/
|
|
February 01, 2018, 01:18:25 AM |
|
Only way to learn is to watch for someone who never used Linux before and being new to this I would like to log output to view it.
Do I need ckdb for this logging as I installed with the --without flag and logs folder seems to be protected.
Sorry for many questions.
Nope, ckdb serves no purpose for a proxy and is defunct in the codebase anyway, being disabled by default since it has no public maintainer any more.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
1Dev
Newbie
Offline
Activity: 14
Merit: 0
|
|
February 01, 2018, 01:54:17 AM |
|
Working now, Very happy! Thanks for the help setting up. I notice SPM seems really low what settings are best for this in config. Pool:{"SPS1m": 1.44, "SPS5m": 1.45, "SPS15m": 1.25, "SPS1h": 1.06} @ 2.5TH "mindiff" : 1, "startdiff" : 42, "maxdiff" : 0, Should edit this? or pool will select for each miner? or is there calculation to set perfect diff for speed?
|
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4228
Merit: 1644
Ruu \o/
|
|
February 01, 2018, 01:55:31 AM |
|
Working now, Very happy! Thanks for the help setting up. I notice SPM seems really low what settings are best for this in config. Pool:{"SPS1m": 1.44, "SPS5m": 1.45, "SPS15m": 1.25, "SPS1h": 1.06} @ 2.5TH "mindiff" : 1, "startdiff" : 42, "maxdiff" : 0, Should edit this? or pool will select for each miner? or is there calculation to set perfect diff for speed? You're not running a whole pool so why would you expect your SPS to be high? Just leave it at defaults, the proxy code will work it all out for you.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4228
Merit: 1644
Ruu \o/
|
|
February 01, 2018, 02:37:56 AM |
|
The pool is choosing the diff. That config only affects local mining to the proxy.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
1Dev
Newbie
Offline
Activity: 14
Merit: 0
|
|
February 01, 2018, 02:41:30 AM |
|
The pool is choosing the diff. That config only affects local mining to the proxy. I setup a full node and bitcoind I will look into setting up a small private pool at a later date once I learn what I have now.
|
|
|
|
|