-
Notifications
You must be signed in to change notification settings - Fork 305
update libsecp to latest ersion; bump major version number #384
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
Conversation
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.
utACK 6950253 I inspected the rust changes but I haven't reproduced the C subtree
| base_config.file("depend/secp256k1/contrib/lax_der_parsing.c") | ||
| .file("depend/secp256k1/src/precomputed_ecmult_gen.c") | ||
| .file("depend/secp256k1/src/precomputed_ecmult.c") |
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.
note: In upstream, we compile these to a separate object which is then linked to the actual library code. This saves compilation time in the common case that the code has changed but tables haven't. But it's probably not worth the hassle here because we never touch the C code here, not even during development.
|
Is this ready to be merged to unblock miniscript progress towards taproot? (see rust-bitcoin/rust-miniscript#292 for details) |
6950253 to
a7bb5fb
Compare
|
Rebased. But we still don't have #390 in. |
|
Do we plan to change MSRV already or is it intended for later release? |
|
@Kixunil later release. I'd like to get this major release into the upcoming rust-bitcoin major release, so I'm trying to keep it small (just new version of upstream and fixed |
|
OK, will change #403 to not require MSRV bump. |
a7bb5fb to
9a0cf1f
Compare
|
Rebased. Remaining:
|
|
Let's leave it out, thanks for asking. |
Is it? One of my PRs did just that and nobody complained. :) |
|
@Kixunil just in |
|
Yes, OK. |
|
Would like to get #410 in as well |
Two API changes needed to be reflected: schnorrsig_sign and schnorrsig_verify. Also bump both Cargo.toml files
…CHECK We can no longer produce non-verification context objects, so instead produce an invalid public key.
6bcf3ea Add bitcoin-hashes-std features (Tobin Harding) 555833b Disable bitcoin_hashes default features (Tobin Harding) b6f169f Improve manifest whitespace (Tobin Harding) Pull request description: Currently we use default features for the `bitcoin_hashes` dependency, doing so breaks the `no-std` feature in `rust-bitcoin` because `std` is part of `bitcoin_hashes` default feature set. Disable `bitcoin_hashes` default features, no changes to `rust-bitcoin` are require after this change since we manually turn on `std` and `alloc` as part of the `std`/`no-std` features of `rust-bitcoin`. For other users of `rust-secp256k1` this is a breaking change but is unlikely to cause too much bother because `std` is so commonly used. This PR resolves an open [issue](#384) in `rust-bitcoin`, see issue for discussion. ACKs for top commit: apoelstra: ACK 6bcf3ea Tree-SHA512: 3cb83b67ba73b096f05cb5c98e1057c34cbf75208c626830a9c5050d3927c7dc6c13109e43c01701b1dfa7adfcfb6745bae6501f903be5976f6d1534fa9b3598
7fd7cba to
aa51638
Compare
|
Rebased; added changelog; this is ready to go. @elichai and/or @real-or-random can you ACK this? |
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.
ACK aa51638 I can't judge if the feature set is meaningful but this release PR is fine
|
Thanks for this @real-or-random. This release would give us static contexts that help a lot in terms of code hygiene for downstream projects. |
…ures 6bcf3ea0d0216d154b7a4955110dcb749935d588 Add bitcoin-hashes-std features (Tobin Harding) 555833b70f1ceaa6f3e5185330a1ee7cd810534f Disable bitcoin_hashes default features (Tobin Harding) b6f169f0837a6a43135f721bfb9371c3ddd01f3f Improve manifest whitespace (Tobin Harding) Pull request description: Currently we use default features for the `bitcoin_hashes` dependency, doing so breaks the `no-std` feature in `rust-bitcoin` because `std` is part of `bitcoin_hashes` default feature set. Disable `bitcoin_hashes` default features, no changes to `rust-bitcoin` are require after this change since we manually turn on `std` and `alloc` as part of the `std`/`no-std` features of `rust-bitcoin`. For other users of `rust-secp256k1` this is a breaking change but is unlikely to cause too much bother because `std` is so commonly used. This PR resolves an open [issue](rust-bitcoin/rust-secp256k1#384) in `rust-bitcoin`, see issue for discussion. ACKs for top commit: apoelstra: ACK 6bcf3ea0d0216d154b7a4955110dcb749935d588 Tree-SHA512: 3cb83b67ba73b096f05cb5c98e1057c34cbf75208c626830a9c5050d3927c7dc6c13109e43c01701b1dfa7adfcfb6745bae6501f903be5976f6d1534fa9b3598
…n; bump major version number
aa516384dfff31c96bb11b3610a5d33c4f1c1bb1 update changelog for 0.22.0 (Andrew Poelstra)
d06dd2023b27299b60165afea84c694c50e1e8fe update fuzzdummy API to match normal API (Andrew Poelstra)
f3d48a298e4faca29889bad3623b445a3bff8db2 update "should terminate abnormally" test to trigger a different ARG_CHECK (Andrew Poelstra)
8294ea3f50f6de88f88b848c01eb60cab2a73241 secp256k1-sys: update upstream library (Andrew Poelstra)
2932179bd63eb5b7549a473c4e5c16656a81b5e2 secp256k1-sys: update secp256k1.h.patch (Andrew Poelstra)
Pull request description:
Should wait on merging until we get a minor release out with #382 and #376.
May also want to bundle #380 with this?
ACKs for top commit:
real-or-random:
ACK rust-bitcoin/rust-secp256k1@aa51638 I can't judge if the feature set is meaningful but this release PR is fine
Tree-SHA512: e7f48b402378e280a034127f2de58d3127e04303a114f07f294fa3d00c0a083ae0d43375a8a74d226b13ea45fb3fde07d8450790e602bbf9581adc5fd8bc7d29
…ures 6bcf3ea0d0216d154b7a4955110dcb749935d588 Add bitcoin-hashes-std features (Tobin Harding) 555833b70f1ceaa6f3e5185330a1ee7cd810534f Disable bitcoin_hashes default features (Tobin Harding) b6f169f0837a6a43135f721bfb9371c3ddd01f3f Improve manifest whitespace (Tobin Harding) Pull request description: Currently we use default features for the `bitcoin_hashes` dependency, doing so breaks the `no-std` feature in `rust-bitcoin` because `std` is part of `bitcoin_hashes` default feature set. Disable `bitcoin_hashes` default features, no changes to `rust-bitcoin` are require after this change since we manually turn on `std` and `alloc` as part of the `std`/`no-std` features of `rust-bitcoin`. For other users of `rust-secp256k1` this is a breaking change but is unlikely to cause too much bother because `std` is so commonly used. This PR resolves an open [issue](rust-bitcoin/rust-secp256k1#384) in `rust-bitcoin`, see issue for discussion. ACKs for top commit: apoelstra: ACK 6bcf3ea0d0216d154b7a4955110dcb749935d588 Tree-SHA512: 3cb83b67ba73b096f05cb5c98e1057c34cbf75208c626830a9c5050d3927c7dc6c13109e43c01701b1dfa7adfcfb6745bae6501f903be5976f6d1534fa9b3598
…n; bump major version number
aa516384dfff31c96bb11b3610a5d33c4f1c1bb1 update changelog for 0.22.0 (Andrew Poelstra)
d06dd2023b27299b60165afea84c694c50e1e8fe update fuzzdummy API to match normal API (Andrew Poelstra)
f3d48a298e4faca29889bad3623b445a3bff8db2 update "should terminate abnormally" test to trigger a different ARG_CHECK (Andrew Poelstra)
8294ea3f50f6de88f88b848c01eb60cab2a73241 secp256k1-sys: update upstream library (Andrew Poelstra)
2932179bd63eb5b7549a473c4e5c16656a81b5e2 secp256k1-sys: update secp256k1.h.patch (Andrew Poelstra)
Pull request description:
Should wait on merging until we get a minor release out with #382 and #376.
May also want to bundle #380 with this?
ACKs for top commit:
real-or-random:
ACK rust-bitcoin/rust-secp256k1@aa51638 I can't judge if the feature set is meaningful but this release PR is fine
Tree-SHA512: e7f48b402378e280a034127f2de58d3127e04303a114f07f294fa3d00c0a083ae0d43375a8a74d226b13ea45fb3fde07d8450790e602bbf9581adc5fd8bc7d29
Should wait on merging until we get a minor release out with #382 and #376.
May also want to bundle #380 with this?