rust-bitcoin-unsafe-fast/bitcoin/src
Tobin C. Harding d9533523ac
Remove usage of ThirtyTwoByteHash
The `ThirtyTwoByteHash` trait is defined in `secp256k1` and used in
`hashes` as well as `bitcoin`. This means that we must use the same
version of `hashes` in both `bitcoin` and `secp256k1`. This makes doing
release difficult.

Remove usage of `ThirtyTwoByteHash` and use `Message::from_slice`.
Include TODO above each usage because as soon as we release the new
version of secp we can use the new `Message::from_digest`.

This is step backwards as far as type safety goes and it makes the code
more ugly as well because it uses `expect` but thems the breaks.
2023-08-23 12:21:26 +10:00
..
blockdata refactor: developer doc first 2023-08-17 10:37:12 +02:00
consensus Move p2p::constants::Network to crate root 2023-08-01 16:46:59 +10:00
crypto Remove usage of ThirtyTwoByteHash 2023-08-23 12:21:26 +10:00
merkle_tree Eliminate a heap allocation from PartialMerkleTree encoding & decoding 2023-08-11 20:51:55 +01:00
p2p Move p2p::constants::Network to crate root 2023-08-01 16:46:59 +10:00
psbt Remove usage of ThirtyTwoByteHash 2023-08-23 12:21:26 +10:00
address.rs Merge rust-bitcoin/rust-bitcoin#1914: Move type definitions of pubkey/script hash types 2023-08-02 13:57:39 +00:00
amount.rs Use from_int_btc function for const context 2023-06-13 11:32:58 +02:00
base58.rs Merge rust-bitcoin/rust-bitcoin#1957: Remove deprecated code 2023-08-02 13:40:50 +00:00
bip32.rs Move p2p::constants::Network to crate root 2023-08-01 16:46:59 +10:00
bip152.rs Use standard set of derives on all error types 2023-07-28 06:15:49 +10:00
bip158.rs bitcoin: Remove attribution from all files 2023-05-01 09:22:48 +10:00
error.rs Move `impl_std_error` to `bitcoin-internals` 2023-05-30 18:04:54 +02:00
hash_types.rs Improve the ScriptHash and WScriptHash types 2023-08-02 11:28:14 +10:00
internal_macros.rs Depend on hex-conservative 2023-07-21 10:59:46 +10:00
lib.rs Expose XonlyPublicKey and TapSighashType in crate root 2023-08-12 16:28:35 -07:00
network.rs Move p2p::constants::Network to crate root 2023-08-01 16:46:59 +10:00
parse.rs Use standard set of derives on all error types 2023-07-28 06:15:49 +10:00
policy.rs bitcoin: Remove attribution from all files 2023-05-01 09:22:48 +10:00
pow.rs Use standard set of derives on all error types 2023-07-28 06:15:49 +10:00
serde_utils.rs Depend on hex-conservative 2023-07-21 10:59:46 +10:00
sign_message.rs Remove usage of ThirtyTwoByteHash 2023-08-23 12:21:26 +10:00
string.rs Use standard set of derives on all error types 2023-07-28 06:15:49 +10:00
taproot.rs Merge rust-bitcoin/rust-bitcoin#1957: Remove deprecated code 2023-08-02 13:40:50 +00:00
test_macros.rs bitcoin: Remove attribution from all files 2023-05-01 09:22:48 +10:00