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

Is solution configurable? #11

Closed
evbots opened this issue Nov 14, 2018 · 2 comments
Closed

Is solution configurable? #11

evbots opened this issue Nov 14, 2018 · 2 comments

Comments

@evbots
Copy link

evbots commented Nov 14, 2018

I see that the miner can return a solution that does not meet the target provided by a handshake node. Is there a way to configure what the miner considers to be a solution? For example: if I want to consider hashes further -or- closer to the target as a solution for submitting shares to a pool.

@evbots
Copy link
Author

evbots commented Nov 14, 2018

I noticed the method miner.getPerc(), which exposes the compile time flag TESTNET_PERC. I bumped this figure to 90 from the default 50 (found here) and rebuilt the miner (make testnet). It seems that solutions are found more often. Is this the right figure to be adjusting in order to find solutions closer or farther from the target? @chjj If so, any plans to expose this as a command line flag?

boymanjor pushed a commit that referenced this issue Jan 31, 2020
@boymanjor
Copy link
Contributor

This is now stale due to the change in pow. Closing this now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants