Skip to content

Make sv1 server trait methods return results#2134

Merged
Shourya742 merged 2 commits intostratum-mining:mainfrom
Shourya742:2026-04-17-make-sv1-server-trait-return-result
Apr 21, 2026
Merged

Make sv1 server trait methods return results#2134
Shourya742 merged 2 commits intostratum-mining:mainfrom
Shourya742:2026-04-17-make-sv1-server-trait-return-result

Conversation

@Shourya742
Copy link
Copy Markdown
Member

@Shourya742 Shourya742 commented Apr 17, 2026

Part of: stratum-mining/sv2-apps#436

Luckily sv1 trait error type already return UnknownID when the downstream is not present, so we can use that to return the error for scenario mentioned in the issue above.

companion stratum-mining/sv2-apps#437

@Shourya742 Shourya742 requested a review from GitGab19 April 20, 2026 06:13
Copy link
Copy Markdown
Member

@GitGab19 GitGab19 left a comment

Choose a reason for hiding this comment

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

Don't we need a MAJOR bump of sv1_api here?

@Shourya742
Copy link
Copy Markdown
Member Author

41142f7

We should, done here: 41142f7

@Shourya742 Shourya742 merged commit 6556fb7 into stratum-mining:main Apr 21, 2026
14 checks passed
@Shourya742 Shourya742 deleted the 2026-04-17-make-sv1-server-trait-return-result branch April 21, 2026 13:54
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.

3 participants