rust-bitcoin-unsafe-fast/bitcoin/src/network
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
..
address.rs Replace `Vec::from_hex` with `hex!` 2022-12-31 21:10:19 +01:00
constants.rs run cargo clippy and fmt 2022-12-13 14:52:43 +00:00
message.rs Replace `Vec::from_hex` with `hex!` 2022-12-31 21:10:19 +01:00
message_blockdata.rs Replace `Vec::from_hex` with `hex!` 2022-12-31 21:10:19 +01:00
message_bloom.rs network: Run cargo fmt 2022-11-18 13:11:09 +11:00
message_compact_blocks.rs network: Run cargo fmt 2022-11-18 13:11:09 +11:00
message_filter.rs Add a workspace to the top level directory. 2022-09-13 08:44:57 +10:00
message_network.rs Remove FromHex for all types except Vec and array 2023-02-01 08:26:46 +11:00
mod.rs network: Run cargo fmt 2022-11-18 13:11:09 +11:00