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

update rust reference code for bech32m #60

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

apoelstra
Copy link

Also add support for "bcrt" HRP

Also add support for "bcrt" HRP
@sipa
Copy link
Owner

sipa commented Aug 4, 2021

Hmm, is it desirable to restrict the code to bc/bcrt/tb? I don't think the other reference code does that.

@apoelstra
Copy link
Author

If not I'm happy to remove it. It seemed like an odd thing to do, but the existing Rust code did it.

@sipa
Copy link
Owner

sipa commented Aug 25, 2021

Yeah, I think I'd prefer removing that requirement.

@apoelstra
Copy link
Author

Removed. This did mean that we had to remove a couple test vectors (which are "invalid segwit addresses" according to BIP-173 and 350 but nonetheless valid bech32).

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.

2 participants