You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ea61e9f Add an AddressData type (Tobin C. Harding)
Pull request description:
This is a backport of the first patch (excluding api file changes) of rust-bitcoin#2808.
----
In the 0.32.0 release we removed the `address::Payload` struct because it was deemed an implementation detail. As a byproduct of doing so we made it impossible for users to match on an enum and get the address payload (or data).
- Add a public `AddressData` enum that holds an address' encoded data.
- Add a conversion function to `Address` that returns the data enum.
ACKs for top commit:
apoelstra:
ACK ea61e9f
Tree-SHA512: 13ffd4dac6a6f58cd99f280301fed9188d70a411ada6eb3e3dff25570d66a047568a6035a5e02c2b8e9d59cf4f4deae531b521e99a6bdf3fcad325febc280e2f
0 commit comments