I added the code at the end of the line and it seems to be discarding the stale ones, but right now the Moonlander is giving me lots of discarding messages after eachother and just 2.8 mhs instead of the 4 Mhs just 10 minutes ago.
Why is the mhs going down and why do i still get those messages? Gulden not the right coin?
http://i68.tinypic.com/2cx8ak8.png
It looks like you're running into the dreaded "stick died and didn't auto restart" problem.
Is the red light blinking on the stick?
It probably isn't.
You should restart the miner (either press
to quit and then rerun the startup script)
If it still doesn't blink the red light, pull the stick out and then plug it back in and restart the miner.
If it still doesn't work, your settings probably need to be adjusted. Check the "Tuning" section for details.
Still nothing after 6-8 minutes it starts to go wrong:
stale detected, discarding
and then: detects new block and immediatly sets another difficulty.
Mhs goes down to below 1. Red flashing stops.
It looks like a hash to coin problem because when i switch to coinpool i get no errors...
Could it be something with the difficulty or the pool itsself there?