Skip to content

Comments

update rust reference code for bech32m#60

Open
apoelstra wants to merge 2 commits intosipa:masterfrom
apoelstra:2021-08--bech32m
Open

update rust reference code for bech32m#60
apoelstra wants to merge 2 commits intosipa:masterfrom
apoelstra:2021-08--bech32m

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