slush (OP)
Legendary
Offline
Activity: 1386
Merit: 1097
|
|
October 12, 2012, 05:08:18 PM |
|
3. Show diff per share submitted in console?
Ok, give me some time. Check latest git version.
|
|
|
|
dlasher
|
|
October 12, 2012, 06:14:41 PM |
|
3. Show diff per share submitted in console?
Check latest git version. Thank you! Works like a charm! RE: #2, logging, was hoping to have a log file to pull data from, # of shares per minute, average diff, stuff I can generate easily if I have a logfile, and can then graph. At a minimum, it would be nice to have in syslog so i can redirect it to a central syslog server, on a local1-7.
|
|
|
|
slush (OP)
Legendary
Offline
Activity: 1386
Merit: 1097
|
|
October 12, 2012, 06:18:13 PM |
|
Well, I thought these features are already included in miners. I'm not sure if adding all these features to the proxy is in my time capability :-(
|
|
|
|
Keninishna
|
|
October 16, 2012, 02:08:11 PM |
|
Is there a guide for setting up a stratum server? I see the github files but it looks to be just defining the protocol not a actual implementation.
|
|
|
|
slush (OP)
Legendary
Offline
Activity: 1386
Merit: 1097
|
|
October 16, 2012, 02:18:10 PM |
|
Is there a guide for setting up a stratum server? I see the github files but it looks to be just defining the protocol not a actual implementation.
It is working implementation, basically you need to install dependencies (twisted and stratum packages), copy config_sample.py to config.py and run twistd -ny launcher_demo.tac -l -
However I don't think too many people tried it yet, so ask me if you'll have any issues. Or even better, join #stratum irc.
|
|
|
|
Keninishna
|
|
October 16, 2012, 04:10:05 PM |
|
yup found the twisted file and ran that but I get an error saying cannot import module stratum.
|
|
|
|
slush (OP)
Legendary
Offline
Activity: 1386
Merit: 1097
|
|
October 16, 2012, 06:21:04 PM |
|
It is working implementation, basically you need to install dependencies (twisted and stratum packages), copy config_sample.py to config.py.
run easy_install stratum easy_install -U twisted
|
|
|
|
dlasher
|
|
October 18, 2012, 08:11:33 PM |
|
Slush:
I ran into an interesting failure state today, and the stratum proxy, I believe, played a roll in the failure. I posted over in the cgminer thread about the cgminer portion, but wanted to post here about the proxy portion.
Scenerio: - stratum pool proxy is pointed at crashes - clients behind proxy stay connected to proxy, but get no work - since connection doesn't 'close' cgminer didn't demote the pool - all GPU's idling and cold
Shouldn't the proxy, in some way, tell the clients when it's primary upstream connection dies?
|
|
|
|
-ck
Legendary
Offline
Activity: 4242
Merit: 1644
Ruu \o/
|
|
October 18, 2012, 08:30:06 PM |
|
Hopefully by now you should be able to cgminer directly to stratum pools more reliably than through the proxy.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
dlasher
|
|
October 18, 2012, 08:31:59 PM |
|
Hopefully by now you should be able to cgminer directly to stratum pools more reliably than through the proxy.
2.8.4 is a dramatic improvement in stratum reliability.. /nod /thankyou Sadly, none of my individual miners are fast enough (right now) to get over a 1-diff, but together they can get 16-diff when run behind the proxy.
|
|
|
|
P_Shep
Legendary
Offline
Activity: 1795
Merit: 1208
This is not OK.
|
|
October 18, 2012, 08:59:37 PM |
|
Maybe this is a possible future feature of cgminer, being a proxy itself.
|
|
|
|
-ck
Legendary
Offline
Activity: 4242
Merit: 1644
Ruu \o/
|
|
October 18, 2012, 09:26:51 PM |
|
Maybe this is a possible future feature of cgminer, being a proxy itself.
Gimme a break
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
jjiimm_64
Legendary
Offline
Activity: 1876
Merit: 1000
|
|
October 18, 2012, 09:52:51 PM |
|
Maybe this is a possible future feature of cgminer, being a proxy itself.
Gimme a break Then cgminer can get me some coffee too
|
1jimbitm6hAKTjKX4qurCNQubbnk2YsFw
|
|
|
eleuthria
Legendary
Offline
Activity: 1750
Merit: 1007
|
|
October 18, 2012, 10:31:38 PM |
|
Maybe this is a possible future feature of cgminer, being a proxy itself.
Gimme a break Then cgminer can get me some coffee too Actually, this is a must have feature. If cgminer is going to support BFL ASICs, which include a "coffee warmer", I think cgminer should interface with my coffee pot to brew my coffee as well.
|
RIP BTC Guild, April 2011 - June 2015
|
|
|
P_Shep
Legendary
Offline
Activity: 1795
Merit: 1208
This is not OK.
|
|
October 18, 2012, 11:01:42 PM |
|
Maybe this is a possible future feature of cgminer, being a proxy itself.
Gimme a break Then cgminer can get me some coffee too Actually, this is a must have feature. If cgminer is going to support BFL ASICs, which include a "coffee warmer", I think cgminer should interface with my coffee pot to brew my coffee as well. Stands to reason...
|
|
|
|
iCEBREAKER
Legendary
Offline
Activity: 2156
Merit: 1072
Crypto is the separation of Power and State.
|
|
October 19, 2012, 12:08:44 AM |
|
Maybe this is a possible future feature of cgminer, being a proxy itself.
Gimme a break Then cgminer can get me some coffee too Actually, this is a must have feature. If cgminer is going to support BFL ASICs, which include a "coffee warmer", I think cgminer should interface with my coffee pot to brew my coffee as well. CGMiner must also interface with the grinder and automatically send shares to bitcoincoffee when it runs low on beans. It should also maintain your ASIC mug warmer at the utmost tastiest temperature for your particular favorite varietal/roast. * demands BFG send Con more hardware for development*
|
██████████ ██████████████████ ██████████████████████ ██████████████████████████ ████████████████████████████ ██████████████████████████████ ████████████████████████████████ ████████████████████████████████ ██████████████████████████████████ ██████████████████████████████████ ██████████████████████████████████ ██████████████████████████████████ ██████████████████████████████████ ████████████████████████████████ ██████████████ ██████████████ ████████████████████████████ ██████████████████████████ ██████████████████████ ██████████████████ ██████████ Monero
|
| "The difference between bad and well-developed digital cash will determine whether we have a dictatorship or a real democracy." David Chaum 1996 "Fungibility provides privacy as a side effect." Adam Back 2014
|
| | |
|
|
|
Joshwaa
|
|
October 19, 2012, 03:47:06 AM |
|
lolz
|
|
|
|
slush (OP)
Legendary
Offline
Activity: 1386
Merit: 1097
|
|
October 19, 2012, 09:16:06 AM |
|
Hopefully by now you should be able to cgminer directly to stratum pools more reliably than through the proxy.
Can you elaborate more on this? Do you see any bug in proxy?
|
|
|
|
-ck
Legendary
Offline
Activity: 4242
Merit: 1644
Ruu \o/
|
|
October 19, 2012, 09:18:47 AM |
|
Hopefully by now you should be able to cgminer directly to stratum pools more reliably than through the proxy.
Can you elaborate more on this? Do you see any bug in proxy? Don't take it to mean there's a bug. It's simply one less potential point of failure.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
slush (OP)
Legendary
Offline
Activity: 1386
Merit: 1097
|
|
October 19, 2012, 09:21:35 AM |
|
I ran into an interesting failure state today, and the stratum proxy, I believe, played a roll in the failure. I posted over in the cgminer thread about the cgminer portion, but wanted to post here about the proxy portion.
Shouldn't the proxy, in some way, tell the clients when it's primary upstream connection dies?
Yes, it should. Let me ask some questions: a) Are you using latest Windows binary? b) If you're using Linux, are you sure you ran "setup.py install" or "setup.py develop" after last upgrade? c) Do you see any error/traceback in the proxy during connection outage? Proxy should propagate all connection failures to all connected miners immediately. It is implemented in method on_disconnect ( https://github.com/slush0/stratum-mining-proxy/blob/master/mining_proxy.py) and I don't see any reason why it shouldn't work, except ther was another error.
|
|
|
|
|