Closed tcharding closed 11 months ago
codex32 https://github.com/BlockstreamResearch/codex32/tree/master/reference/rust-codex32 has a Fe
type which is the same as u5
in this library.
It's not obvious that either lib should depend on the other though so actually sharing a type doesn't seem clear.
Closing as this was implicitly resolved by the recent crate re-write.
All the while working on this crate I have mistook the
u5
type to be a general purpose integer type. To improve the API and help the next non-mathematician reading the code we could re-work theu5
type to make its purpose more explicit.ref: https://github.com/rust-bitcoin/rust-bech32/pull/89#issuecomment-1456201412
Consider fixing #80 at the same time.