Skip to content

[GH-#60] Mining for number of cycles#67

Merged
thepiwo merged 2 commits into
masterfrom
GH-60
Oct 20, 2017
Merged

[GH-#60] Mining for number of cycles#67
thepiwo merged 2 commits into
masterfrom
GH-60

Conversation

@nedelcho-delchev-tues

Copy link
Copy Markdown

resolves #60

@d-velev d-velev left a comment

Copy link
Copy Markdown
Contributor

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