Conversation
tcharding
left a comment
There was a problem hiding this comment.
For what its worth, LGTM. Although I'm not sure its worth having links to all those docs changes, they are all pretty trivial.
I checked the markdown renders correctly (on GitHub) and that all the links work.
|
Thanks! Normally I wouldn't bother linking to all the docs stuff, but there were a bunch and I could make the links pretty small. |
sanket1729
left a comment
There was a problem hiding this comment.
utACK 61b6add. Looks good to me. Did not verify the release notes.
|
cc @elichai @TheBlueMatt could one of you ack this so I can merge and publish? |
|
Note that the let Parity { .. } = some_fn_returning_parity();(or in other pattern matching) Which works before and breaks after changing to enum. I know, it's dumb, I posted about this in IRLO recently. My personal approach for my libs is "doing this is too weird and hopefully unlikely and trivial to fix, if you do this sorry-not sorry, I'm making non-breaking release". While I'm in favor of ignoring this I believe it's the right thing for me to point this out as others may have a different view. |
|
One more thing, would you be up for ninja-doc-improvement of |
|
@Kixunil sure, go for it. |
|
Done. While working on it I noticed a few other problems:
|
|
Oof, we should definitely fix the parity to be serialized as a single byte. I guess we can't do that in a minor release though. The error stuff I think is ok to fix in a minor release, if you are so inclined. But bear in mind that my intention is to do a major release basically ASAP after I get this merged, and to use the major release in the next rust-bitcoin release. Mainly I want #384 but I'm happy to mess with the |
705c9cf Clarified conversions between `Parity` and integers (Martin Habovstiak) Pull request description: This was discussed in #390 (comment) ACKs for top commit: apoelstra: ACK 705c9cf Tree-SHA512: 3ba2ec566099c3c6d1c6f830e4959312b818b8766d924e3d995e6b23bd196ab747cc03d46f494ef451569188b0163f53e3236cacd20bfae9118ee76bcdbc9c02
|
OK, will try to be quick and submit two PRs. |
|
I found one more thing: |
|
@Kixunil @apoelstra, anything I can help in unblocking this? |
|
@sanket1729 I'm done with my PRs to this one. |
|
We need #407 first. Sorry, my bad. In the meantime I'll update the changelog here assuming that we have 407. |
61b6add to
65d32af
Compare
|
@real-or-random @elichai can I get an ACK on this? |
…`Parity` and integers 705c9cfbc15bb6fdcae7355ac9fc4de920876abd Clarified conversions between `Parity` and integers (Martin Habovstiak) Pull request description: This was discussed in rust-bitcoin/rust-secp256k1#390 (comment) ACKs for top commit: apoelstra: ACK 705c9cfbc15bb6fdcae7355ac9fc4de920876abd Tree-SHA512: 3ba2ec566099c3c6d1c6f830e4959312b818b8766d924e3d995e6b23bd196ab747cc03d46f494ef451569188b0163f53e3236cacd20bfae9118ee76bcdbc9c02
65d32af6fd085c6073de89e4aa3c306e75f6feff bump version to 0.21.3 (Andrew Poelstra) Pull request description: We've got a ton of minor changes in, plus fixing the Parity type and adding some extra serde impls. Let's push a minor version out so that we can move on to updating the upstream libsecp. Top commit has no ACKs. Tree-SHA512: 584c03106124b4152b8971ac6d0587a26d2aca9187f88d8228a356c2327bf066d2c9b8134149f9ee3bc5f3712f64559b32843aa8e92d3395c5a1bd53de5442ce
…`Parity` and integers 705c9cfbc15bb6fdcae7355ac9fc4de920876abd Clarified conversions between `Parity` and integers (Martin Habovstiak) Pull request description: This was discussed in rust-bitcoin/rust-secp256k1#390 (comment) ACKs for top commit: apoelstra: ACK 705c9cfbc15bb6fdcae7355ac9fc4de920876abd Tree-SHA512: 3ba2ec566099c3c6d1c6f830e4959312b818b8766d924e3d995e6b23bd196ab747cc03d46f494ef451569188b0163f53e3236cacd20bfae9118ee76bcdbc9c02
65d32af6fd085c6073de89e4aa3c306e75f6feff bump version to 0.21.3 (Andrew Poelstra) Pull request description: We've got a ton of minor changes in, plus fixing the Parity type and adding some extra serde impls. Let's push a minor version out so that we can move on to updating the upstream libsecp. Top commit has no ACKs. Tree-SHA512: 584c03106124b4152b8971ac6d0587a26d2aca9187f88d8228a356c2327bf066d2c9b8134149f9ee3bc5f3712f64559b32843aa8e92d3395c5a1bd53de5442ce
We've got a ton of minor changes in, plus fixing the Parity type and adding some extra serde impls. Let's push a minor version out so that we can move on to updating the upstream libsecp.