rust-bitcoin-unsafe-fast/bitcoin/examples
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
..
bip32.rs Run cargo fmt 2022-11-18 13:11:07 +11:00
ecdsa-psbt.rs Remove FromHex for all types except Vec and array 2023-02-01 08:26:46 +11:00
handshake.rs Add a workspace to the top level directory. 2022-09-13 08:44:57 +10:00
taproot-psbt.rs Remove FromHex for all types except Vec and array 2023-02-01 08:26:46 +11:00