Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase stratum proxy difficulty to 16 for SHA256 clients. #456

Closed
wants to merge 1 commit into from

Conversation

xrobau
Copy link

@xrobau xrobau commented May 29, 2014

Difficulty of 1 is too little for even entry level 100gh hardware now.. And with 'entry level' moving to 500gh over the next few months, this should do for a while.

@luke-jr
Copy link
Owner

luke-jr commented May 29, 2014

This doesn't check that the upstream difficulty isn't < 16. Maybe it should also be configurable?

@xrobau
Copy link
Author

xrobau commented May 29, 2014

That's deliberate. Any pool that's asking for difficulty 1 shares with more than 100gh or so pointed at it is going to get flooded (difficulty 1 @ 100gh = about 30 shares per second). By filtering them to difficulty 16, it doesn't destroy the pool quite as badly, and gives it a chance to realise that it should increase the difficulty quickly.

I'm working on the assumption that people who are using the stratum proxy are using it for significant hashrates. This may be wrong if people are using it with a couple of 1gh USB miners. You know best! 8)

@luke-jr
Copy link
Owner

luke-jr commented May 29, 2014

That's the pool's problem - not sure we should make a bug to help them deal with it :)

@luke-jr
Copy link
Owner

luke-jr commented Jul 4, 2014

Please help test and review #486

@luke-jr luke-jr closed this Jul 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants