rust-bitcoin-unsafe-fast/bitcoin/src
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
..
blockdata Replace `Vec::from_hex` with `hex!` 2022-12-31 21:10:19 +01:00
consensus Remove rand-std dev-dependency from secp256k1 2022-12-23 08:33:21 +11:00
crypto Move base58 module to crate root 2022-12-01 09:56:33 +11:00
merkle_tree Replace `Vec::from_hex` with `hex!` 2022-12-31 21:10:19 +01:00
network Replace `Vec::from_hex` with `hex!` 2022-12-31 21:10:19 +01:00
psbt Replace `Vec::from_hex` with `hex!` 2022-12-31 21:10:19 +01:00
util Move base58 module to crate root 2022-12-01 09:56:33 +11:00
address.rs Replace `Vec::from_hex` with `hex!` 2022-12-31 21:10:19 +01:00
amount.rs Fix typos in docs 2022-12-19 09:32:52 +01:00
base58.rs Replace `Vec::from_hex` with `hex!` 2022-12-31 21:10:19 +01:00
bip32.rs Replace `Vec::from_hex` with `hex!` 2022-12-31 21:10:19 +01:00
bip152.rs Implemented unsized `Script` 2022-12-14 23:21:27 +01:00
bip158.rs Replace `Vec::from_hex` with `hex!` 2022-12-31 21:10:19 +01:00
error.rs Move util::Error to error module 2022-11-16 10:42:30 +11:00
hash_types.rs Patch hashes and update the code 2022-12-18 14:33:55 +01:00
internal_macros.rs Replace `Vec::from_hex` with `hex!` 2022-12-31 21:10:19 +01:00
lib.rs Merge rust-bitcoin/rust-bitcoin#1420: Allow dead_code/unused_imports when fuzzing 2022-12-30 14:56:40 +00:00
parse.rs impl FromHexStr for structs with single u32 member 2022-12-11 00:01:58 -05:00
policy.rs Add a workspace to the top level directory. 2022-09-13 08:44:57 +10:00
pow.rs Verify and fix mul_u64 2022-12-30 09:39:41 +11:00
serde_utils.rs Move serde_string_* macros to the serde_utils module 2022-10-20 06:15:57 +11:00
sighash.rs Replace `Vec::from_hex` with `hex!` 2022-12-31 21:10:19 +01:00
sign_message.rs Remove rand-std dev-dependency from secp256k1 2022-12-23 08:33:21 +11:00
string.rs impl FromHexStr for structs with single u32 member 2022-12-11 00:01:58 -05:00
taproot.rs Patch hashes and update the code 2022-12-18 14:33:55 +01:00
test_macros.rs Add a workspace to the top level directory. 2022-09-13 08:44:57 +10:00