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

Enhanced connectivity handling and GitHub actions warnings #3

Merged
merged 3 commits into from
Jun 23, 2024

Conversation

x100111010
Copy link
Member

Miner will pause when the connection is lost and resume when the connection is re-established:

  • added a paused atomic boolean to the MinerManager to manage the miner's active state
  • implemented pause and resume methods in the MinerManager to control mining based on the connection status
  • modified the main loop to call pause when the connection is lost and resume when the connection is restored

Address GitHub actions warnings:

  • updated tests.yaml Workflow:

  • upgraded actions/checkout to v4

  • replaced actions-rs/cargo@v1 with direct run commands for cargo operations

  • added caching steps using actions/cache@v4

  • updated deploy.yaml Workflow:

  • upgraded actions/checkout to v4

  • upgraded softprops/action-gh-release to v2

The miner will pause when the connection is lost and resume when the connection is re-established.
@0xA001113 0xA001113 merged commit 4ad15b3 into spectre-project:main Jun 23, 2024
8 checks passed
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