Skip to content

Conversation

@nedelcho-delchev-tues
Copy link
Contributor

resolves #60

Copy link
Contributor

@d-velev d-velev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Throwing an exception in the generate function when no solution is found and replacing the if in the Miner.Worker module with a try-catch may be cleaner (we won't match mined_header with something other than a header).
Edit: throwing an exception in this situation wouldn't be right, use cond instead of the if.

@thepiwo thepiwo merged commit d8a892e into master Oct 20, 2017
gspasov added a commit that referenced this pull request Aug 9, 2018
@thepiwo thepiwo deleted the GH-60 branch October 5, 2018 11:53
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

Successfully merging this pull request may close these issues.

Mining for number of cycles

3 participants