Update bitcoin crate to 0.28.1#1389
Conversation
|
is this a good time to do this? is the rust-bitcoin release imminent? |
|
Yea, I hear its coming so update is always good. One question before we pull the trigger on anything though is the WASM issues in rust-secp - rust-bitcoin/rust-secp256k1#427 and rust-bitcoin/rust-secp256k1#419 |
|
Looks like the 427 is really just the dev missing feature flag. And 419 seems to be progressing. |
Codecov Report
@@ Coverage Diff @@
## main #1389 +/- ##
==========================================
+ Coverage 90.89% 91.40% +0.50%
==========================================
Files 75 75
Lines 41624 45218 +3594
Branches 41624 45218 +3594
==========================================
+ Hits 37834 41330 +3496
- Misses 3790 3888 +98
Continue to review full report at Codecov.
|
|
Note that MSRV for |
|
Light review ACK LGTM. Will take a closer look at the larger diffs in little while! |
Looks like that was an accident. Hopefully rust-bitcoin/rust-bitcoin#690 will be included in a point release - I'll revert the MSRV changes once that's done. |
|
If upstream is gonna do a point release soon lets just wait for that here, IMO. |
|
Upstream cut a point release so this should be good now, I think, need to re-add the MSRV changes in CI. |
Done. |
TheBlueMatt
left a comment
There was a problem hiding this comment.
LGTM! Thanks for tackling this one!
| $sum_actual_sigs += $sighash_parts.access_witness($idx)[0].len(); | ||
| let sighash = hash_to_message!(&$sighash_parts.segwit_signature_hash($idx, &redeem_script, $amount, EcdsaSighashType::All).unwrap()[..]); | ||
| let sig = secp_ctx.sign_ecdsa(&sighash, &privkey); | ||
| let mut ser_sig = sig.serialize_der().to_vec(); |
There was a problem hiding this comment.
I was gonna nag about the extra allocation here, but instead I just did the util method upstream so we can fix it later - rust-bitcoin/rust-bitcoin#989
Uh oh!
There was an error while loading. Please reload this page.