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

make PropKey methods public #20

Merged
merged 1 commit into from
Feb 15, 2024
Merged

Conversation

zoedberg
Copy link
Contributor

This PR makes PropKey::mpc_entropy() public, needed to avoid manually recreating the proprietary key using constants before converting it to a rust-bitcoin proprietary key.

Copy link

codecov bot commented Feb 14, 2024

Codecov Report

Attention: 5 lines in your changes are missing coverage. Please review.

Comparison is base (28d3228) 0.0% compared to head (48df55f) 0.0%.

Files Patch % Lines
psbt/src/csval/mpc.rs 0.0% 5 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff          @@
##           master    #20   +/-   ##
=====================================
  Coverage     0.0%   0.0%           
=====================================
  Files          17     17           
  Lines        3157   3157           
=====================================
  Misses       3157   3157           
Flag Coverage Δ
rust 0.0% <0.0%> (ø)

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.

Copy link
Member

@dr-orlovsky dr-orlovsky left a comment

Choose a reason for hiding this comment

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

ACK d4394ce

We actually need to make all of the methods pub. The reason they are not is that before it was a trait over external-type Psbt from rust-bitcoin, which is public by default.

@zoedberg
Copy link
Contributor Author

Ok, I will update the PR then

@zoedberg zoedberg changed the title make PropKey::mpc_entropy() public make PropKey methods public Feb 15, 2024
@zoedberg
Copy link
Contributor Author

Done

Copy link
Member

@dr-orlovsky dr-orlovsky left a comment

Choose a reason for hiding this comment

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

ACK 48df55f

@dr-orlovsky dr-orlovsky merged commit d34709d into BP-WG:master Feb 15, 2024
18 of 19 checks passed
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