rust-bitcoin-unsafe-fast/bitcoin/tests
Tobin C. Harding a308e1e2ea
Remove FromHex for all types except Vec and array
Remove `FromHex` from hash and script types

- Remove the `FromHex` implementation from hash types and `ScriptBuf`
- Remove the `FromStr` implementation from `ScriptBuf` because it does not
  roundtrip with `Display`.
- Implement a method `from_hex` on `ScriptBuf`.
- Implement `FromStr` on hash types using a fixed size array.

This leaves `FromHex` implementations only on `Vec` and fixed size arrays.
2023-02-01 08:26:46 +11:00
..
data locktime: unify serde impls 2022-12-11 18:48:56 +00:00
psbt.rs Remove FromHex for all types except Vec and array 2023-02-01 08:26:46 +11:00
serde.rs Remove FromHex for all types except Vec and array 2023-02-01 08:26:46 +11:00
serde_opcodes.rs Add serde regression tests 2022-10-29 10:47:16 +11:00