[refactor](trx-client): consolidate protocol logic with trx-protocol
Use centralized trx-protocol::rig_command_to_client for command conversion, eliminating 62 lines of duplicate code in mode handling and command mapping logic. Updates remote_client to delegate to trx-protocol for bidirectional command conversion. No behavior changes, all tests pass. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Stanislaw Grams <stanislawgrams@gmail.com>
This commit is contained in:
@@ -19,6 +19,7 @@ dirs = "6"
|
||||
libloading = "0.8"
|
||||
bytes = "1"
|
||||
trx-core = { path = "../trx-core" }
|
||||
trx-protocol = { path = "../trx-protocol" }
|
||||
trx-frontend = { path = "trx-frontend" }
|
||||
trx-frontend-http = { path = "trx-frontend/trx-frontend-http" }
|
||||
trx-frontend-http-json = { path = "trx-frontend/trx-frontend-http-json" }
|
||||
|
||||
Reference in New Issue
Block a user