Add support for taproot psbt fields BIP 371#681
Add support for taproot psbt fields BIP 371#681dr-orlovsky merged 4 commits intorust-bitcoin:masterfrom
Conversation
7ce7d71 to
187234f
Compare
|
You can grab |
|
I will do so after #677 is merged. I like creating a dedicated type for |
|
Now it can be rebased and finalized |
187234f to
0a158a7
Compare
|
@dr-orlovsky, I think we should address this along with a resolution for #670. As implemented #671 is incorrect as it uses the wrong sighash type. |
0a158a7 to
eaf1887
Compare
dr-orlovsky
left a comment
There was a problem hiding this comment.
tACK eaf1887
Compared against spec descriptions & test vectors and confirm that they do match (actually found a bug in the spec: bitcoin/bips#1241)
108ba73 to
0eb6730
Compare
dr-orlovsky
left a comment
There was a problem hiding this comment.
utACK 0eb6730543dc39415b2ad082255505e54f578c9d
|
@Kixunil pls if you could review this Taproot release blocker as well |
Kixunil
left a comment
There was a problem hiding this comment.
Unfortunately, I'm not deeply familiar with byte-level details of Taproot, so I could only check structure of the code and don't feel confident acking. I found various potential improvements and suspicious code.
Thanks, this is super valuable. I will address your comments shortly. As for the correctness of the taproot code, there are exact test vectors from the BIP that we are testing against which should give some confidence. |
0e0ba8e to
4e79e44
Compare
|
Sorry for the delay. I was traveling and could not get to this. I have addressed all your comments. |
|
First light review looks good. Will try to do deeper later. |
dr-orlovsky
left a comment
There was a problem hiding this comment.
tACK 4e79e4483f4eaa77a7e08d8a6245ce507f18b9e6
Excellent work! Tested all commits with git rebase -x using full test script.
7b2ccbe to
2f7e0a9
Compare
|
Needs a rebase again... |
2f7e0a9 to
708f2da
Compare
|
Rebased |
8387423 to
3bbd446
Compare
|
Rebased again after #686 |
apoelstra
left a comment
There was a problem hiding this comment.
ACK 3bbd4465731011c8927bd56f0c1d565a136dc542
I also did not check the byte-for-byte compatibility with BIP 371. Hopefully the test vectors save us here. Also I did not check that the test vectors were correct.
3bbd446 to
7d8fc66
Compare
|
Pushed again to use |
7d8fc66 to
7d982fa
Compare
dr-orlovsky
left a comment
There was a problem hiding this comment.
re-tACK 7d982fa basing on git range-diff. The original PR before last re-base was tested commit-by-commit.
…e features ccc2815 Remove no-std and actual-serde features (Sexosexosexo) Pull request description: Closes rust-bitcoin#681 The `no-std` feature is no longer needed with `bitcoin` version 0.32.0 - Update README.md (in Building I have copy-pasted part of the same section from `rust-bitcoin`) - Disable `actual-serde` implicit feature I think `FEATURES_WITH_NO_STD` now could be removed from the maintainer tools. Let me know if there's something missing or to improve! ACKs for top commit: apoelstra: ACK ccc2815; successfully ran local tests; even nicer! Tree-SHA512: c1146176d65d1953b765273e55d28b8c6b926bcd091e46db66858b448c9435f90db703ae7ec11425a316276ce73c8ec6025be73afbf22ea88aa6ff27224abe9a
Built on top of #677 . Will rebase and mark ready for review after #677 is merged.