rust-bitcoin / rust-bech32-bitcoin

Encoding and decoding Segregated Witness addresses in Bech32 format
16 stars 25 forks source link

Why does this crate exist? #38

Closed tcharding closed 1 year ago

tcharding commented 2 years ago

Why does this crate exist please? We have https://github.com/rust-bitcoin/rust-bech32 also within this GitHub organisation? @clarkmoody it looks like you started both of them, do you remember why?

tcharding commented 1 year ago

Ha ha, I just "found" this crate ... again and after wondering "what is this crate for" I saw this issue. @clarkmoody you just did a release 16 days ago, whats the purpose please so I don't tread on your toes?

tcharding commented 1 year ago

Ooooh this crate is meant to be a "Bitcoin" wrapper around rust-bech32? Is that implying that rust-bech32 is not a bitcoin specific crate? I still don't quite get the separation.

clarkmoody commented 1 year ago

Haha, yes. This crate adds the semantics of Witness Program version constraints and restricted HRP values on top of the bech32 encoding.

tcharding commented 1 year ago

No worries, at least in my mind, we should be able to do all that in the rust-bech32. Thanks.