Skip to content

2025 05 26 move translator to new channel module logic - #18

Open
bit-aloo wants to merge 24 commits into
mainfrom
2025-05-26-move-translator-to-new-channel-module-logic
Open

2025 05 26 move translator to new channel module logic#18
bit-aloo wants to merge 24 commits into
mainfrom
2025-05-26-move-translator-to-new-channel-module-logic

Conversation

@bit-aloo

Copy link
Copy Markdown
Owner

No description provided.

@codecov-commenter

codecov-commenter commented May 26, 2025

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 0% with 578 lines in your changes missing coverage. Please review.

Project coverage is 21.67%. Comparing base (0f6d89b) to head (a65b874).
Report is 496 commits behind head on main.

Files with missing lines Patch % Lines
roles/translator/src/lib/channel_manager/mod.rs 0.00% 149 Missing ⚠️
roles/translator/src/lib/proxy/bridge.rs 0.00% 127 Missing ⚠️
...translator/src/lib/upstream_sv2/message_handler.rs 0.00% 103 Missing ⚠️
...anslator/src/lib/downstream_sv1/diff_management.rs 0.00% 88 Missing ⚠️
...anslator/src/lib/downstream_sv1/message_handler.rs 0.00% 45 Missing ⚠️
...translator/src/lib/upstream_sv2/diff_management.rs 0.00% 21 Missing ⚠️
...ranslator/src/lib/upstream_sv2/setup_connection.rs 0.00% 17 Missing ⚠️
roles/translator/src/lib/upstream_sv2/upstream.rs 0.00% 14 Missing ⚠️
roles/translator/src/lib/mod.rs 0.00% 9 Missing ⚠️
...es/translator/src/lib/downstream_sv1/downstream.rs 0.00% 5 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #18      +/-   ##
==========================================
+ Coverage   19.09%   21.67%   +2.58%     
==========================================
  Files         166      146      -20     
  Lines       11062    10777     -285     
==========================================
+ Hits         2112     2336     +224     
+ Misses       8950     8441     -509     
Flag Coverage Δ
binary_codec_sv2-coverage 0.00% <ø> (ø)
binary_serde_sv2-coverage ?
binary_sv2-coverage 8.48% <ø> (+3.14%) ⬆️
bip32_derivation-coverage 0.00% <ø> (ø)
buffer_sv2-coverage 37.68% <ø> (+12.65%) ⬆️
codec_sv2-coverage 0.03% <ø> (+0.01%) ⬆️
common_messages_sv2-coverage 0.20% <ø> (+0.07%) ⬆️
const_sv2-coverage ?
error_handling-coverage 0.00% <ø> (ø)
framing_sv2-coverage 0.45% <ø> (+0.16%) ⬆️
jd_client-coverage 0.38% <ø> (+0.38%) ⬆️
jd_server-coverage 13.30% <ø> (+5.51%) ⬆️
job_declaration_sv2-coverage 0.00% <ø> (ø)
key-utils-coverage 3.61% <ø> (+1.21%) ⬆️
mining-coverage 4.23% <ø> (+1.78%) ⬆️
mining_device-coverage 0.00% <ø> (ø)
mining_proxy_sv2-coverage 1.18% <ø> (+0.47%) ⬆️
noise_sv2-coverage 7.20% <ø> (+2.75%) ⬆️
pool_sv2-coverage 5.82% <0.00%> (+3.77%) ⬆️
protocols 33.15% <ø> (+8.57%) ⬆️
roles 8.96% <0.00%> (+2.41%) ⬆️
roles_logic_sv2-coverage 20.85% <ø> (+12.91%) ⬆️
sv2_ffi-coverage 0.00% <ø> (ø)
template_distribution_sv2-coverage 0.00% <ø> (ø)
translator_sv2-coverage 0.26% <0.00%> (-9.35%) ⬇️
utils 36.39% <ø> (+11.26%) ⬆️
v1-coverage 3.95% <ø> (+1.54%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@bit-aloo
bit-aloo force-pushed the 2025-05-26-move-translator-to-new-channel-module-logic branch 2 times, most recently from c43f6e6 to 6687894 Compare May 27, 2025 14:48
bit-aloo added 22 commits May 27, 2025 20:19
…use extended extranonce from manager rather than again calculating it
…to added to submit share extended message

which doesn't makes sense, as it will already be having that field inside the message.
updated the try_update_hashrate with new channel managment module.
…y structuring, segreggated the

message handler to a separate mdoule for downstream.
@bit-aloo
bit-aloo force-pushed the 2025-05-26-move-translator-to-new-channel-module-logic branch from 6687894 to 0d6e655 Compare May 27, 2025 14:51
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