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
Use newly released bech32 API #1951
Use newly released bech32 API #1951
Conversation
Overall looking pretty good :) |
Sweet huh, way better than earlier iterations. |
4321612
to
5c90027
Compare
5c90027 looking pretty good :) |
5c90027
to
bb23ef8
Compare
536d5ad
to
44d0782
Compare
44d0782
to
d4e40b3
Compare
d4e40b3
to
d554060
Compare
d554060
to
92be241
Compare
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 92be241
92be241
to
e5a08ac
Compare
e5a08ac
to
34f8764
Compare
Rebase only, no other changes. |
34f8764
to
b85a0c9
Compare
Rebased to pick up recent pinning fix, no other changes. |
This is only the last patch, it is non-trivial and requires 2 maintainer acks to merge, though as mentioned elsewhere I think @clarkmoody's ack is worth something, especially since he is the original author and maintainer of |
52f2332 Remove docs from witness version conversion functions (Tobin C. Harding) 47d6d78 Remove bip 173/350 test vectors (Tobin C. Harding) e0eaeaa Split ParseError out of Error (Tobin C. Harding) 0f536e8 Add new UnknownAddressTypeError for parsing address type (Tobin C. Harding) e2014cb Import error variants within dislay impl (Tobin C. Harding) 9d7791f Remove unnecessary self:: from error import (Tobin C. Harding) b2e485e Split the address error code out into a separate module (Tobin C. Harding) f34ca0c Move address.rs to address/mod.rs (Tobin C. Harding) Pull request description: In preparation for depending on the recently released version of `rust-bech32` do a bunch of preparatory fixes. 1. Improve `address` module error handling as we are doing else where at the moment 2. Remove bip 173 and 350 test vector tests, these are fully covered in bech32 3. Trim down the docs on `WitnessVersion` This PR is the first 8 patches of #1951 ACKs for top commit: sanket1729: ACK 52f2332 apoelstra: ACK 52f2332 Tree-SHA512: 67a4ea4020b4e5c9c8396e4195e06dbd1d11335788f9e52f60abbc0b399e37e5dacc9bb7fa4e88221670322fa3c3407ade059d5c709f96e2df97240f4524e08c
Use the new bech32 iterator API that Andrew and I wrote.
b85a0c9
to
e4c7e01
Compare
Went back over this while rebasing because it was done a long time ago, noticed that there were some error variants that are now unused. No other changes. |
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 e4c7e01
Nice!! I finally reviewed this in detail. |
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 e4c7e01
Depend on the newly released version of
bech32
, BOOM!