Skip to content

Conversation

@KillerInk
Copy link
Contributor

@KillerInk KillerInk commented Mar 15, 2025

Description

Scope of the commit

  • [x ] New feature
  • [ x] Bug fix

Unit test

  • I added unit tests to cover my code (if not, specify why)
  • I performed tests for all the environments (if not, specify which one)

Dependencies and Compatibility

AsyncTcp

Documentation

Breaking Changes

miner works without crashing.
optimise send and request with asynctcp
fix timings on job change.
add support for seedstudio xiao s3

Additional Checks

  • I have considered and addressed any additional checks or steps required for this pull request.

Contributor Guidelines

@matteocrippa matteocrippa self-requested a review March 15, 2025 16:41
if (millis() - current_last_hash > 200000)
if (millis() - current_last_hash > 600000)
{
l_error(TAG_CURRENT, "No hash received in the last 3 minutes. Restarting...");
Copy link
Owner

Choose a reason for hiding this comment

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

@KillerInk 10min waiting is not too much?
If fine, worth update the error with the proper amount of time

Copy link
Contributor Author

Choose a reason for hiding this comment

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

no its fine. pool.io increase diff to 0.001 and there can be hashtimes longer then 5min where also no new job trigger.
and after 10min then min there should be latest a new job request(new block). if not ,connection realy died.

Copy link
Owner

@matteocrippa matteocrippa left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution @KillerInk
Idrop just a minor comment

@matteocrippa matteocrippa merged commit feae755 into matteocrippa:main Mar 15, 2025
1 check passed
@KillerInk
Copy link
Contributor Author

KillerInk commented Mar 16, 2025

i have to thank you for this piece of code^^ runs faster then the nerdminer
Unbenannt-1

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.

2 participants