rust-bitcoin-unsafe-fast/bitcoin/src/network
Martin Habovstiak 089a1e452d Replace `Vec::from_hex` with `hex!`
This makes the code less noisy and is a preparation for changing it to
`const`-based literal. Because of the preparation, places that used
variables to store the hex string were changed to constants.

There are still some instances of `Vec::from_hex` left - where they
won't be changeable to `const` and where `hex!` is unavailable
(integration tests). These may be dealt with later.

See also #1189
2022-12-31 21:10:19 +01: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 Replace `Vec::from_hex` with `hex!` 2022-12-31 21:10:19 +01:00
mod.rs network: Run cargo fmt 2022-11-18 13:11:09 +11:00