Skip to content
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

Add Address type #16

Merged
merged 1 commit into from
May 1, 2019
Merged

Conversation

stevenroose
Copy link
Member

So I ported the blech32 code from Elements, but I seem to have some nit somewhere in the checksum code. Still figuring out.

@stevenroose
Copy link
Member Author

Updated with from_script (a la rust-bitcoin/rust-bitcoin#254) and serde.

shesek added a commit to shesek/electrs that referenced this pull request Apr 25, 2019
The new type adds support for blech32 encoding of Element addresses
and implements proper version bytes for legacy base58 encoding,
removing the need for our modified Address implementation.

This depends on @stevenroose's unmerged ElementsProject/rust-elements#16,
using his https://github.com/stevenroose/rust-elements/tree/address branch directly.

Fixes Blockstream/esplora#79.
@shesek
Copy link
Contributor

shesek commented Apr 26, 2019

Tested ACK, implemented in esplora/electrs to add blech32 encoding and decoding (Blockstream/esplora#79).

@apoelstra apoelstra merged commit c7fb7a7 into ElementsProject:master May 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants