-
Notifications
You must be signed in to change notification settings - Fork 412
0.0.117 Bindings Changes #2644
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
0.0.117 Bindings Changes #2644
Changes from all commits
715bb6f
1d51611
7918040
5fe8c82
d6fac9f
1aff76f
be634a9
2aacb2c
4ca36c3
923fed5
5fe91db
6544976
bc9d0e0
29b1710
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -402,6 +402,8 @@ impl Utxo { | |
} | ||
|
||
/// Returns a `Utxo` with the `satisfaction_weight` estimate for a P2WPKH nested in P2SH output. | ||
/// | ||
/// This is not exported to bindings users as WPubkeyHash is not yet exported | ||
pub fn new_nested_p2wpkh(outpoint: OutPoint, value: u64, pubkey_hash: &WPubkeyHash) -> Self { | ||
let script_sig_size = 1 /* script_sig length */ + | ||
1 /* OP_0 */ + | ||
|
@@ -418,6 +420,8 @@ impl Utxo { | |
} | ||
|
||
/// Returns a `Utxo` with the `satisfaction_weight` estimate for a SegWit v0 P2WPKH output. | ||
/// | ||
/// This is not exported to bindings users as WPubkeyHash is not yet exported | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. don't you need to add the #cfg here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. "This is not exported to bindings users" is a magic string for the bindings generator. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. jesus christ. But ok |
||
pub fn new_v0_p2wpkh(outpoint: OutPoint, value: u64, pubkey_hash: &WPubkeyHash) -> Self { | ||
Self { | ||
outpoint, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto here?