Skip to content

Migrate translator to shared synchronous primitive#530

Open
Shourya742 wants to merge 3 commits into
stratum-mining:mainfrom
Shourya742:2026-05-26-migrate-translator-to-shared-map
Open

Migrate translator to shared synchronous primitive#530
Shourya742 wants to merge 3 commits into
stratum-mining:mainfrom
Shourya742:2026-05-26-migrate-translator-to-shared-map

Conversation

@Shourya742

Copy link
Copy Markdown
Member

No description provided.

@Shourya742
Shourya742 force-pushed the 2026-05-26-migrate-translator-to-shared-map branch 3 times, most recently from f086369 to 4f9d12a Compare May 27, 2026 12:28
Comment on lines +200 to +201
.with(|data| data.authorized_worker_name == *name)
.unwrap();

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Can't propagate error from Sv1Server downstream message handler, considering it doesn't support TproxyError type.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Moved forward with UnknownId variant for now, we can extend error enum in Sv1 crate later to include some poison related variant.

@Shourya742
Shourya742 force-pushed the 2026-05-26-migrate-translator-to-shared-map branch from 4f9d12a to 26c7b24 Compare May 27, 2026 12:56
@Shourya742
Shourya742 force-pushed the 2026-05-26-migrate-translator-to-shared-map branch from 26c7b24 to cd0fdd1 Compare July 21, 2026 12:14
@Shourya742
Shourya742 force-pushed the 2026-05-26-migrate-translator-to-shared-map branch from cd0fdd1 to 2ec31b8 Compare July 21, 2026 12:27
@Shourya742
Shourya742 marked this pull request as ready for review July 21, 2026 16:30
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.

1 participant