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

Regtest bech32 address support #110

Merged
merged 3 commits into from Aug 11, 2018
Merged

Conversation

D4nte
Copy link
Contributor

@D4nte D4nte commented Jul 26, 2018

In the spirit of #84, add support for regtest bech32 addresses that start with "bcrt1".

Also added a test that I had added locally when updating rust-bitcoin with my rust-bech32-bitcoin/regtest library.

Please consider this PR, thanks!

@TheBlueMatt
Copy link
Member

We really need to move to a https://github.com/rust-bitcoin/bitcoin-constants lib so that we dont have to keep doing network-tag-enum conversion.

@D4nte
Copy link
Contributor Author

D4nte commented Jul 27, 2018

@TheBlueMatt happy to get this integrated as is or you consider the refactoring to bitcoin-constants as blocking?

@TheBlueMatt
Copy link
Member

TheBlueMatt commented Jul 27, 2018 via email

@D4nte
Copy link
Contributor Author

D4nte commented Aug 1, 2018

@TheBlueMatt can you advise how I can get this merged? Thanks!

Copy link
Member

@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll merge for now. bitcoin-constants is a hard project to get right - every addition to a public enum requires a major version bump, which then requires all downsteam users to do a major version bump, and it's easy for people to be disrupted by changes to constants that they don't even care about.

@apoelstra apoelstra merged commit ebe5133 into rust-bitcoin:master Aug 11, 2018
Davidson-Souza pushed a commit to Davidson-Souza/rust-bitcoin that referenced this pull request Jul 12, 2023
casey pushed a commit to casey/rust-bitcoin that referenced this pull request Nov 28, 2023
Fix the GetNetworkInfoResult time_offset field
yancyribbens pushed a commit to yancyribbens/rust-bitcoin that referenced this pull request Mar 23, 2024
policy: Corrected an inverted documentation for `Older` and `After`
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.

None yet

3 participants