Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename pool_signature field of channel_factory into additional_coinbase_script_data, and change the type from String to Vec<u8> #1442

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

plebhash
Copy link
Collaborator

@plebhash plebhash commented Feb 3, 2025

close #1436

loosely inspired by 3f2815b from @Fi3 at #1248, but with a few corrections (and split into two different commits)

note: this renaming only happens on roles_logic_sv2, but not on SRI application layer (roles), where the field remains called pool_signature

@plebhash plebhash added refactor Implies refactoring code protocols Lowest level protocol logic roles-logic-sv2 labels Feb 3, 2025
Copy link

codecov bot commented Feb 3, 2025

Codecov Report

Attention: Patch coverage is 83.33333% with 1 line in your changes missing coverage. Please review.

Project coverage is 18.89%. Comparing base (0d00daa) to head (5251f81).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
roles/jd-client/src/lib/upstream_sv2/upstream.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1442      +/-   ##
==========================================
+ Coverage   16.71%   18.89%   +2.18%     
==========================================
  Files         155      157       +2     
  Lines       11133    11224      +91     
==========================================
+ Hits         1861     2121     +260     
+ Misses       9272     9103     -169     
Flag Coverage Δ
binary_codec_sv2-coverage 0.00% <ø> (ø)
binary_serde_sv2-coverage 3.40% <ø> (ø)
binary_sv2-coverage 5.11% <ø> (ø)
bip32_derivation-coverage 0.00% <ø> (?)
buffer_sv2-coverage 25.02% <ø> (?)
codec_sv2-coverage 0.01% <ø> (ø)
common_messages_sv2-coverage 0.12% <ø> (ø)
const_sv2-coverage 0.00% <ø> (ø)
error_handling-coverage 0.00% <ø> (?)
framing_sv2-coverage 0.27% <ø> (ø)
jd_client-coverage 0.42% <0.00%> (ø)
jd_server-coverage 9.02% <ø> (ø)
job_declaration_sv2-coverage 0.00% <ø> (ø)
key-utils-coverage 2.39% <ø> (ø)
mining-coverage 2.32% <ø> (-0.02%) ⬇️
mining_device-coverage 0.00% <ø> (ø)
mining_proxy_sv2-coverage 0.82% <ø> (ø)
noise_sv2-coverage 4.25% <ø> (ø)
protocols 23.86% <100.00%> (ø)
roles 6.43% <0.00%> (ø)
roles_logic_sv2-coverage 8.70% <100.00%> (ø)
sv2_ffi-coverage 0.00% <ø> (ø)
template_distribution_sv2-coverage 0.00% <ø> (ø)
translator_sv2-coverage 9.53% <ø> (ø)
utils 25.13% <ø> (?)
v1-coverage 2.31% <ø> (ø)

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.

this is a more generic name, as this extra data could be used for other things and not only pool signature

note: this renaming only happens on `roles_logic_sv2`, but not on SRI application layer (`roles`), where the field remains called `pool_signature`
@plebhash plebhash force-pushed the rename-pool-signature branch from be9fd92 to 5251f81 Compare February 6, 2025 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
protocols Lowest level protocol logic refactor Implies refactoring code roles-logic-sv2
Projects
None yet
1 participant