rust-bitcoin-unsafe-fast/bitcoin/tests
Tobin C. Harding 923ce7402d
Remove Network from AddressInner
An `AddressInner` struct is created when parsing address strings however
address strings do not map 1:1 to `Network` because signet and testnet
use the same bech32 prefix "tb".

We can fix this by inlining the `Payload` variants into `AddressInner`
and adding prefix enums for legacy addresses and a `KnownHrp` for bech32
addresses.

Also enables removing the `AddressEncoding` struct as we can display the
`AddressInner` struct directly. (The `Display` impl is on `AddressInner`
and not directly on address to ignore the `NetworkValidation` wrapper,
may be able to be simplified still further.)
2023-12-05 09:27:15 +11:00
..
data test: correct psbt used for regression test 2023-09-21 11:45:18 +05:30
psbt.rs Remove imports of TryFrom and TryInto 2023-11-24 03:52:05 +11:00
serde.rs Remove Network from AddressInner 2023-12-05 09:27:15 +11:00
serde_opcodes.rs Add serde regression tests 2022-10-29 10:47:16 +11:00