Bitcoin Forum
April 25, 2024, 04:15:05 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 [31] 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 ... 139 »
  Print  
Author Topic: Linux mining distro for the Raspberry PI - MinePeon  (Read 684872 times)
joeykrim
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
July 14, 2013, 08:41:26 PM
 #601

The form and POST processing can handle more than 3 pools dynamically scaling up to 20 - joeykrim
Thanks! I registered an account here so I can keep track of development. I hope to continue contributing code.
Project is great, definitely appreciated!

Still missing the prioritization of pools "on the fly" and buttons like Restart and Quit, as in old miner.php page.
I'm looking into this .. if you have a link to the miner.php you're referring to handy, could you post that?
Edit: think I found it for cgminer at least .. not sure if there is same for bfgminer? https://github.com/kanoi/cgminer/blob/master/miner.php
I'm new to all of this and takes a little bit to get up to speed!

...could you please add this features in the future:
* cpu usage
* cpu temperature
I started doing a little digging and figured I'd post my notes here. I'm not sure what MineForeman has in mind or is currently working on, but I don't think it should be *too* bad to add cpu Temperature and perhaps also cpu stats.
I found some info on how arch linux handles cpu temperature: https://wiki.archlinux.org/index.php/Raspberry_Pi#Temperature
Quote
Temperatures sensors for the board itself are including as part of the raspberrypi-firmware-tools package. The RPi offers a sensor on the BCM2835 SoC (CPU/GPU):
/opt/vc/bin/vcgencmd measure_temp
temp=49.8'C
Alternatively, simply read from the filesystem:
% cat /sys/class/thermal/thermal_zone0/temp                
49768
Also, there is another project, quote earlier in this thread, that gives some great stats on cpu usage as well as many other aspects: https://github.com/imjacobclark/Raspcontrol
Perhaps we could include portions of that project? License for the project seems to allow that: https://github.com/imjacobclark/Raspcontrol/blob/master/LICENCE
1714018505
Hero Member
*
Offline Offline

Posts: 1714018505

View Profile Personal Message (Offline)

Ignore
1714018505
Reply with quote  #2

1714018505
Report to moderator
1714018505
Hero Member
*
Offline Offline

Posts: 1714018505

View Profile Personal Message (Offline)

Ignore
1714018505
Reply with quote  #2

1714018505
Report to moderator
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, but full nodes are more resource-heavy, and they must do a lengthy initial syncing process. As a result, lightweight clients with somewhat less security are commonly used.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714018505
Hero Member
*
Offline Offline

Posts: 1714018505

View Profile Personal Message (Offline)

Ignore
1714018505
Reply with quote  #2

1714018505
Report to moderator
1714018505
Hero Member
*
Offline Offline

Posts: 1714018505

View Profile Personal Message (Offline)

Ignore
1714018505
Reply with quote  #2

1714018505
Report to moderator
1714018505
Hero Member
*
Offline Offline

Posts: 1714018505

View Profile Personal Message (Offline)

Ignore
1714018505
Reply with quote  #2

1714018505
Report to moderator
MineForeman.com (OP)
Legendary
*
Offline Offline

Activity: 896
Merit: 1000



View Profile WWW
July 14, 2013, 09:06:19 PM
 #602

The form and POST processing can handle more than 3 pools dynamically scaling up to 20 - joeykrim
Thanks! I registered an account here so I can keep track of development. I hope to continue contributing code.
Project is great, definitely appreciated!

Thanks for that one, the way you handled those POST arrays was really cool.

Still missing the prioritization of pools "on the fly" and buttons like Restart and Quit, as in old miner.php page.
I'm looking into this .. if you have a link to the miner.php you're referring to handy, could you post that?
I'm new to all of this and takes a little bit to get up to speed!

There is a copy of miner.php in the root of the git repo, it was written by another guy here called kano (He is one of the cgminer developers).  It was sort of the reference PHP client that I built everything on.  No origional code exists anymore in MinePeon but i still keep it there for posterity.

...could you please add this features in the future:
* cpu usage
* cpu temperature
I started doing a little digging and figured I'd post my notes here. I'm not sure what MineForeman has in mind or is currently working on, but I don't think it should be *too* bad to add cpu Temperature and perhaps also cpu stats.
I found some info on how arch linux handles cpu temperature: https://wiki.archlinux.org/index.php/Raspberry_Pi#Temperature
Quote
Temperatures sensors for the board itself are including as part of the raspberrypi-firmware-tools package. The RPi offers a sensor on the BCM2835 SoC (CPU/GPU):
/opt/vc/bin/vcgencmd measure_temp
temp=49.8'C
Alternatively, simply read from the filesystem:
% cat /sys/class/thermal/thermal_zone0/temp                
49768
Also, there is another project, quote earlier in this thread, that gives some great stats on cpu usage as well as many other aspects: https://github.com/imjacobclark/Raspcontrol
Perhaps we could include portions of that project? License for the project seems to allow that: https://github.com/imjacobclark/Raspcontrol/blob/master/LICENCE

CPU temp is already being recorded the same way that hashrate is, if you look in /opt/minepeon/etc/cron.d/5min/ there is a file called cputemp or something that handles it, the rrd is output to the normal place (I don't have a peon in front of me so I am relying on memory for paths).

Anyways, glad to have you aboard!

Neil


Bitcoin News http://mineforeman.com/ || MinePeon - Bitcoin mining on the Raspberry PI http://mineforeman.com/minepeon/ || MinePeon Wiki http://minepeon.com/ || MinePeon Forums http://minepeon.com/forums/
joeykrim
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
July 14, 2013, 09:16:12 PM
 #603

Still missing the prioritization of pools "on the fly" and buttons like Restart and Quit, as in old miner.php page.
I'm looking into this .. if you have a link to the miner.php you're referring to handy, could you post that?
I'm new to all of this and takes a little bit to get up to speed!
There is a copy of miner.php in the root of the git repo, it was written by another guy here called kano (He is one of the cgminer developers).  It was sort of the reference PHP client that I built everything on.  No origional code exists anymore in MinePeon but i still keep it there for posterity.
Perfect. I submitted a pull request for some simple code that adds a restart and quit button to the bottom of the status page. https://github.com/MineForeman/MinePeonWebUI/pull/10
I wasn't sure if you had UI layout preferences. If you want these somewhere else, or want to group some differently, feel free.
BitMinerN8
Hero Member
*****
Offline Offline

Activity: 626
Merit: 500


Mining since May 2011.


View Profile
July 14, 2013, 10:09:24 PM
 #604

Just throwing this out there, I don't know if it is possible or how much overhead it would create for you to manage but I think it would be cool if there was a "key" code that if you donate directly you could have issued to you. Like paste it in a field under settings or something. This would be another method to stop the killing of kittens.  Grin

I understand the pool rotation thing is easy, and I know it would be extra work to create the "key" mechanism code. I would just like to give you BTC directly. I'd prefer the comfort level of knowing what my rigs are doing and when. No offence implied, I trust you, it's just sometimes machines/code has a way of breaking. Plus when I am on a pool, I like to stay on it unless it is broken. There are lots of variables that happen jumping around on pools. If I see dips in my graphs at my pool, is it "donate" mining or something wrong with the pool? Stuff like that.

Maybe you could offer different levels of features that are enabled with your assigned key? Email alerts, VPN, Central Monitoring, etc. Like Basic, Standard, Pro, or something like that, some people might not need all services.

It's just something to think about for the future. Love watching this project grow and evolve.  Cool
MineForeman.com (OP)
Legendary
*
Offline Offline

Activity: 896
Merit: 1000



View Profile WWW
July 14, 2013, 11:47:14 PM
 #605

Perfect. I submitted a pull request for some simple code that adds a restart and quit button to the bottom of the status page. https://github.com/MineForeman/MinePeonWebUI/pull/10
I wasn't sure if you had UI layout preferences. If you want these somewhere else, or want to group some differently, feel free.

Cool, I will have a look at it later.  Two problems with it though, Restart is not 100% reliable (its more like 99.999% reliable, but that means 1 time out of 1,000 cgminer goes off to la la land).  Quit however seems 100% reliable, but the supervisory process will detect a dead miner and restart it anyway! Tongue

However, we can use the quit button as a restart button.  To make a quit button is something else altogether, it requires access to systemd and the httpd process does not have that (I have no idea what scenario people are thinking of that they will actually need to stop the miner though).

As to where to put the buttons, I am not sure.  I am against adding buttons for the sake of having them, especially when they serve no practical purpose whatsoever, it just starts to look messy.  I do plan to add a submenu under settings for 'Advanced Settings' where all the fiddly settings go like API port and subnet and such, perhaps we can put them there.

Neil

Bitcoin News http://mineforeman.com/ || MinePeon - Bitcoin mining on the Raspberry PI http://mineforeman.com/minepeon/ || MinePeon Wiki http://minepeon.com/ || MinePeon Forums http://minepeon.com/forums/
BitMinerN8
Hero Member
*****
Offline Offline

Activity: 626
Merit: 500


Mining since May 2011.


View Profile
July 15, 2013, 12:24:32 AM
 #606

Has anyone been mining with MinePeon (0.2.2) with more than (3) BFL Single SCs? The trouble that I am having is that if I go more than (3) they all go half speed. (30GH/s vs. 60GH/s) I am using a Satechi powered USB. http://www.amazon.com/gp/product/B0051PGX2I/ref=s9_hps_bw_g147_ir011 The Pi is the newer 512MB version.

elgreco
Full Member
***
Offline Offline

Activity: 147
Merit: 100



View Profile
July 15, 2013, 02:10:23 AM
 #607

"P.S. Every time you set donations to zero a kitten dies. Kitten Killer!"

^^^ that plus the sounds was hilarious.

1E1GrECoNP1RpvWe72kS5cDZozA47nUFs4
Beastlymac
Hero Member
*****
Offline Offline

Activity: 630
Merit: 501


Miner Setup And Reviews. WASP Rep.


View Profile
July 15, 2013, 05:10:31 AM
 #608

Has anyone been mining with MinePeon (0.2.2) with more than (3) BFL Single SCs? The trouble that I am having is that if I go more than (3) they all go half speed. (30GH/s vs. 60GH/s) I am using a Satechi powered USB. http://www.amazon.com/gp/product/B0051PGX2I/ref=s9_hps_bw_g147_ir011 The Pi is the newer 512MB version.


You can use the usb ports on the pi or even get a non powered usb hub. BFl products have power supplies so they do not draw power from the hub.

Message me if you have any problems
BitMinerN8
Hero Member
*****
Offline Offline

Activity: 626
Merit: 500


Mining since May 2011.


View Profile
July 15, 2013, 05:19:40 AM
 #609

Has anyone been mining with MinePeon (0.2.2) with more than (3) BFL Single SCs? The trouble that I am having is that if I go more than (3) they all go half speed. (30GH/s vs. 60GH/s) I am using a Satechi powered USB. http://www.amazon.com/gp/product/B0051PGX2I/ref=s9_hps_bw_g147_ir011 The Pi is the newer 512MB version.


You can use the usb ports on the pi or even get a non powered usb hub. BFl products have power supplies so they do not draw power from the hub.

Hmm, it says on the package "Satechi UH-12P USB 2.0 Hub with Power", I guess I could try another brand. It's just odd that it works fine with (6) Single SCs plugged into it, and plugged into a PC running the same version of cgminer 3.3.1 on Ubuntu Server 13.04. I will play more tomorrow when I go back to the data center.
Beastlymac
Hero Member
*****
Offline Offline

Activity: 630
Merit: 501


Miner Setup And Reviews. WASP Rep.


View Profile
July 15, 2013, 05:24:38 AM
 #610

Has anyone been mining with MinePeon (0.2.2) with more than (3) BFL Single SCs? The trouble that I am having is that if I go more than (3) they all go half speed. (30GH/s vs. 60GH/s) I am using a Satechi powered USB. http://www.amazon.com/gp/product/B0051PGX2I/ref=s9_hps_bw_g147_ir011 The Pi is the newer 512MB version.


You can use the usb ports on the pi or even get a non powered usb hub. BFl products have power supplies so they do not draw power from the hub.

Hmm, it says on the package "Satechi UH-12P USB 2.0 Hub with Power", I guess I could try another brand. It's just odd that it works fine with (6) Single SCs plugged into it, and plugged into a PC running the same version of cgminer 3.3.1 on Ubuntu Server 13.04. I will play more tomorrow when I go back to the data center.
also how are you powering your pi are you using the hub?

Message me if you have any problems
BitMinerN8
Hero Member
*****
Offline Offline

Activity: 626
Merit: 500


Mining since May 2011.


View Profile
July 15, 2013, 05:26:54 AM
 #611

Has anyone been mining with MinePeon (0.2.2) with more than (3) BFL Single SCs? The trouble that I am having is that if I go more than (3) they all go half speed. (30GH/s vs. 60GH/s) I am using a Satechi powered USB. http://www.amazon.com/gp/product/B0051PGX2I/ref=s9_hps_bw_g147_ir011 The Pi is the newer 512MB version.


You can use the usb ports on the pi or even get a non powered usb hub. BFl products have power supplies so they do not draw power from the hub.

Hmm, it says on the package "Satechi UH-12P USB 2.0 Hub with Power", I guess I could try another brand. It's just odd that it works fine with (6) Single SCs plugged into it, and plugged into a PC running the same version of cgminer 3.3.1 on Ubuntu Server 13.04. I will play more tomorrow when I go back to the data center.
also how are you powering your pi are you using the hub?
It has it's own power, and properly rated for it.
MineForeman.com (OP)
Legendary
*
Offline Offline

Activity: 896
Merit: 1000



View Profile WWW
July 15, 2013, 05:31:47 AM
 #612

Hmm, it says on the package "Satechi UH-12P USB 2.0 Hub with Power", I guess I could try another brand. It's just odd that it works fine with (6) Single SCs plugged into it, and plugged into a PC running the same version of cgminer 3.3.1 on Ubuntu Server 13.04. I will play more tomorrow when I go back to the data center.

That is indeed odd, I doubt it is the hub if it was working before.

What makes it really strange is that it is only if you plug 3 or more in!  There were a few changes to cgminer between MinePeon 0.2.1 and 0.2.2, nothing huge though and I did not really think anything of it.

Any chance you could put the binary from 0.2.1 back and see if it fixes itself?

Neil

Bitcoin News http://mineforeman.com/ || MinePeon - Bitcoin mining on the Raspberry PI http://mineforeman.com/minepeon/ || MinePeon Wiki http://minepeon.com/ || MinePeon Forums http://minepeon.com/forums/
astutiumRob
Full Member
***
Offline Offline

Activity: 201
Merit: 100



View Profile WWW
July 15, 2013, 05:38:42 AM
 #613

What about my questions regarding the possibility to use this to run miners in a datacentre?
Yes.

For the rPI's we collocate the best setup is to have a powered usb hub powering the pi and any peripherals, so you only need 1 power port and 1 network cable - with 24/7 power control you can always hard-boot it (although too many of those will trash teh SD card, so we advise clients send a configured spare to be kept with their pi


www.astutium.com - domains | hosting | vps | servers | cloud - proud to accept bitcoins. UK colocation for BFL and KNC ASICs in Tier3+ DC
Register Domains with BTC
Want to make some bitcoins ? Miner on ebay | Buy GH/s
BitMinerN8
Hero Member
*****
Offline Offline

Activity: 626
Merit: 500


Mining since May 2011.


View Profile
July 15, 2013, 05:40:28 AM
 #614

Hmm, it says on the package "Satechi UH-12P USB 2.0 Hub with Power", I guess I could try another brand. It's just odd that it works fine with (6) Single SCs plugged into it, and plugged into a PC running the same version of cgminer 3.3.1 on Ubuntu Server 13.04. I will play more tomorrow when I go back to the data center.

That is indeed odd, I doubt it is the hub if it was working before.

What makes it really strange is that it is only if you plug 3 or more in!  There were a few changes to cgminer between MinePeon 0.2.1 and 0.2.2, nothing huge though and I did not really think anything of it.

Any chance you could put the binary from 0.2.1 back and see if it fixes itself?

Neil
I'll re-flash that build (0.2.1) on an alternate SD and test it tomorrow when I head up to the DC. I'll post results when done.
It is very strange that (3) will run at 60GH/s, then plug in the 4th and they all drop to around 30GH/s. I even split the load between (2) of the Satechi UH-12P USB 2.0 Hubs, plugging into each USB port on the Pi. If I had (2) on one hub and (1) on another hub, as soon as I plugged in the 4th they would drop speed. Very puzzling.  Shocked

EDIT: And yes I tried various reboots and stop/start the cgminer service.
ct1aic
Hero Member
*****
Offline Offline

Activity: 714
Merit: 500


Are ฿itcoins Radioactive?


View Profile WWW
July 15, 2013, 06:52:22 AM
 #615

...
As to where to put the buttons, I am not sure.  I am against adding buttons for the sake of having them, especially when they serve no practical purpose whatsoever, it just starts to look messy.  I do plan to add a submenu under settings for 'Advanced Settings' where all the fiddly settings go like API port and subnet and such, perhaps we can put them there.

Neil
That's a good placement, Neil. Or you could put the button near the "kill the cat" one, as the Settings page is full of space. No need for a sub-page there.

Also, regarding the "Donation Period", I tried to reorder the pools using the "Switch to" buttons of the miner.php page and what they do is to switch the pool, without killing the cgminer program, as you can see in the following image (I did a switch from pool 0 to pool 1 and again a switch from pool 1 to pool 0). The cgminer is still running.

Why don't you fix your donation pool as pool 'n' and at donate time, do a switch command to your pool, doing again a pool switch to user's pool at end donation time, instead of killing the cgminer program, launch a new instance with your pool and then, @ end donation time kill it again and launch again the cgminer with user's pools? Killing cgminer 2 times a day is risky (one time, last week, cgminer refused to detect both USB Gizmos) and info is lost, like running time, best share, Hardware Errors, etc...


Rui Costa, PortugalBTC : 1ct1aicGoUVpZeovsw3cCcPJZJHV5JXtW
MineForeman.com (OP)
Legendary
*
Offline Offline

Activity: 896
Merit: 1000



View Profile WWW
July 15, 2013, 07:21:25 AM
 #616

Also, regarding the "Donation Period", I tried to reorder the pools using the "Switch to" buttons of the miner.php page and what they do is to switch the pool, without killing the cgminer program, as you can see in the following image (I did a switch from pool 0 to pool 1 and again a switch from pool 1 to pool 0). The cgminer is still running.

How do you know this?  I set two pi's up with miners and scripts, one to try switching pools via restart and one to do it via the API every 30 seconds for over a day to find the most reliable method.  What tests did you run?

Why don't you fix your donation pool as pool 'n' and at donate time, do a switch command to your pool, doing again a pool switch to user's pool at end donation time, instead of killing the cgminer program, launch a new instance with your pool and then, @ end donation time kill it again and launch again the cgminer with user's pools? Killing cgminer 2 times a day is risky (one time, last week, cgminer refused to detect both USB Gizmos) and info is lost, like running time, best share, Hardware Errors, etc...

Can you PLEASE stop asking for new features whenever they occur to you!

I am sorry, and I don't want to appear snarly but if I just start to through things in whenever the fancy takes me this whole this will turn into a buggy, wonky bit of s**t in no time flat! Tongue

The way I (and a lot of other developers) work is we slowly chip away at he code, we release one thing, let it sit and test it for a while with the testers, perhaps go back and make improvements, then once we are happy and the code appears good we release another thing (and the development cycle continues).

I will get to the features you want, you just need to let me do it in my own methodical systematic way.

Neil

P.S I am not really grumpy, its just every post you make there is something new!  I also have to hold down my full time job so I can do this for you Tongue .

Bitcoin News http://mineforeman.com/ || MinePeon - Bitcoin mining on the Raspberry PI http://mineforeman.com/minepeon/ || MinePeon Wiki http://minepeon.com/ || MinePeon Forums http://minepeon.com/forums/
ct1aic
Hero Member
*****
Offline Offline

Activity: 714
Merit: 500


Are ฿itcoins Radioactive?


View Profile WWW
July 15, 2013, 09:56:20 AM
Last edit: July 15, 2013, 01:10:07 PM by ct1aic
 #617

Also, regarding the "Donation Period", I tried to reorder the pools using the "Switch to" buttons of the miner.php page and what they do is to switch the pool, without killing the cgminer program, as you can see in the following image (I did a switch from pool 0 to pool 1 and again a switch from pool 1 to pool 0). The cgminer is still running.

How do you know this?  I set two pi's up with miners and scripts, one to try switching pools via restart and one to do it via the API every 30 seconds for over a day to find the most reliable method.  What tests did you run?
I tried many, many times to switch pools, using the "Switch to" buttons of the miner.php page of version 0.2.1 of MinePeon and I never had problems.

But regarding the pool switch you implemented, last week I received a alert email at 00:25 AM, alerting me that my miner was not working. The fact was that, after MinePeon killed the cgminer at the ending of donation period, the new cgminer could not access the USB Block Erupters. This happened only one time.

Why don't you fix your donation pool as pool 'n' and at donate time, do a switch command to your pool, doing again a pool switch to user's pool at end donation time, instead of killing the cgminer program, launch a new instance with your pool and then, @ end donation time kill it again and launch again the cgminer with user's pools? Killing cgminer 2 times a day is risky (one time, last week, cgminer refused to detect both USB Gizmos) and info is lost, like running time, best share, Hardware Errors, etc...

Can you PLEASE stop asking for new features whenever they occur to you!

I am sorry, and I don't want to appear snarly but if I just start to through things in whenever the fancy takes me this whole this will turn into a buggy, wonky bit of s**t in no time flat! Tongue

The way I (and a lot of other developers) work is we slowly chip away at he code, we release one thing, let it sit and test it for a while with the testers, perhaps go back and make improvements, then once we are happy and the code appears good we release another thing (and the development cycle continues).

I will get to the features you want, you just need to let me do it in my own methodical systematic way.

Neil

P.S I am not really grumpy, its just every post you make there is something new!  I also have to hold down my full time job so I can do this for you Tongue .
When I recommend a correction or a new feature, I don't think only about me but also about other users that would like the same feature or correction. It's why I write them here @ the thread and not PMing/SPAMming you.

I'm not demanding you to do what I'm writing (after all, I'm not your boss), but only to give you some ideas that I thought being positives for the project. If you would like them, you could implement them in a future release. If you don't like them, you can always disregard them as stupid ideas and move forward.

But as I can see, you don't like this type of comments. No problem for me. I'm STOPPING right now to give you any further comments or asking you anything else or even SPAMming you.

I rest my case and I'm going to move to other programs, even though those 3rd party programs will never be as good as your's.

Best regards and good luck to MinePeon and to yourself.

Rui Costa, PortugalBTC : 1ct1aicGoUVpZeovsw3cCcPJZJHV5JXtW
joeykrim
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
July 15, 2013, 11:01:46 AM
 #618

Percentages for Reject, Discard and Error have been added to the WebUI. - MineForeman
Quick question on the percentages in the latest version, which is a great idea!
I've submitted a code adjustment for how the percentages are calculated under the Pool Stats table for the Rejects and Discards blocks/shares. https://github.com/MineForeman/MinePeonWebUI/pull/11

I was going to adjust the percents in the Device Status pool but noticed the terminology differences and wanted to clear things up.
The complete picture of possibilities includes, accepted, rejected, error and discarded? Or are error and discarded similar? Or is error a subset of discarded?

I submitted a commit to change the rejected % so that the rejected # is divided by the total # (accepted + rejected + discarded) instead of the prior calculation that was taking the accepted # and dividing that by the rejected #.

I might be completely misunderstanding the relationships between shares and the percentages so I wanted to post here to get clarification. Hope my commit is helpful and improving!
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1798


Linux since 1997 RedHat 4


View Profile
July 15, 2013, 01:25:11 PM
 #619

See my comment on the pull request
(also note that Accepted/Rejected etc should rarely if ever be used, they should use "Difficulty Accepted"/"Difficulty Rejected" etc ...)

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
joeykrim
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
July 15, 2013, 01:52:50 PM
 #620

See my comment on the pull request
(also note that Accepted/Rejected etc should rarely if ever be used, they should use "Difficulty Accepted"/"Difficulty Rejected" etc ...)
Appreciate the feedback!
Humbled to be receiving direct input from somebody so directly involved while I'm definitely new. Sure is a flat org chart around here!

The comments between here and the git commit make more sense. I'm also studying the cgminer README - https://github.com/ckolivas/cgminer/blob/master/README

To summarize, it is best practice to not really use the accepted, rejected and discarded columns and better to focus on the Diff1Shares, Difficulty Accepted and Difficulty Rejected columns?

To convert this over to the code currently used on the minepeon pool stats section, attention should be focused on: <td>" . $pool['Diff1Shares'] . "</td>, <td>" . $pool['DifficultyAccepted'] . "</td>, and <td>" . $pool['DifficultyRejected'] . "</td> ?

This might come across as a silly question .. I was wondering why there isn't a discarded number for diff1shares? Perhaps hardware errors under the specific mining device are related to the discarded number?
I'm positive I'm missing something here, but just attempting to make the stats/calculations as accurate as possible
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 [31] 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 ... 139 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!