Skip to content

refactor(translator): replace monolithic start loop with TranslatorRuntime typestate machine#644

Open
nulllpc wants to merge 2 commits into
stratum-mining:mainfrom
nulllpc:npc/refactor-translator-start
Open

refactor(translator): replace monolithic start loop with TranslatorRuntime typestate machine#644
nulllpc wants to merge 2 commits into
stratum-mining:mainfrom
nulllpc:npc/refactor-translator-start

Conversation

@nulllpc

@nulllpc nulllpc commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Refactors the monolithic start function inside the Pool (miner-apps/translator) into a structured, typestate-based state machine (TranslatorRuntime) to manage bootstrap, component lifecycles, and graceful shutdown.

This PR also properly handles errors instead of calling unwrap or expect

Fixes #527

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.

need to refactor TranslatorSv2::start

1 participant