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

update miners command descriptions, add json to pool status #5234

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

mat-if
Copy link
Contributor

@mat-if mat-if commented Aug 12, 2024

Summary

Required some changes to the stratum client to properly end. Before this PR, the 'close' immediately kicked off the reconnect logic, so there was no actual way to close a client. This adds the ability to manually close a stratum client connection.

Testing Plan

Documentation

N/A

Breaking Change

N/A

@mat-if mat-if requested a review from a team as a code owner August 12, 2024 18:02
@@ -19,7 +19,7 @@ export class StratumTcpClient extends StratumClient {

protected onSocketDisconnect = (): void => {
this.client?.off('error', this.onError)
this.client?.off('close', this.onDisconnect)
this.client?.off('close', this.onSocketDisconnect)
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice bug find

@NullSoldier NullSoldier merged commit 7966996 into staging Aug 13, 2024
10 checks passed
@NullSoldier NullSoldier deleted the mat/cli-miners branch August 13, 2024 21:00
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