rust-bitcoin-unsafe-fast/bitcoin/src
merge-script 143531de7c
Merge rust-bitcoin/rust-bitcoin#4279: `Witness` api improvements and test cleanups
84bee2f7b0 Simplify `Witness` construction in tests (Martin Habovstiak)
3551ec2c69 Don't access internalls of `Witness` in tests (Martin Habovstiak)
c8078360d2 Impl `PartialEq` between `Witness` and containers (Martin Habovstiak)
587a66da47 Add a bunch of missing conversions for `Witness` (Martin Habovstiak)

Pull request description:

  This is supposed to go in front of #4250

  `Witness` lacked a bunch of APIs that were making it harder to use and test, so this also adds them in addition to cleaning up tests. (I only realized they are missing when I tried to clean up tests and got a bunch of errors.)

ACKs for top commit:
  tcharding:
    ACK 84bee2f7b0
  apoelstra:
    ACK 84bee2f7b06a7bd1f435aaad18fa76a15188326e; successfully ran local tests

Tree-SHA512: 7973f2a56b070babba7b4c632f45858154ccd00f8e77956ad2d28cb66e1fd18ff60d92c031ba3b76d0958e4acd34adfca10607fa26ec569dfd52ba1c1e2c79eb
2025-03-26 03:38:39 +00:00
..
address Remove a bunch of `try_into().expect()` 2025-03-20 20:19:50 +01:00
blockdata Merge rust-bitcoin/rust-bitcoin#4279: `Witness` api improvements and test cleanups 2025-03-26 03:38:39 +00:00
consensus fix typos 2025-03-10 09:04:59 +08:00
crypto Add XOnlyPublicKey support for PSBT key retrieval and improve Taproot signing 2025-03-21 11:28:54 -03:00
merkle_tree 2025-01-12 automated rustfmt nightly 2025-01-12 01:23:13 +00:00
network Update CompactTarget::from_next_work_required to take timespan as i64 2024-11-27 11:27:22 -06:00
p2p Remove From<hash> for not-general-hash types 2025-03-21 09:12:25 +11:00
psbt Add XOnlyPublicKey support for PSBT key retrieval and improve Taproot signing 2025-03-21 11:28:54 -03:00
taproot Rename impl_try_from_array to impl_from_array 2025-03-21 14:26:31 -03:00
bip32.rs Add official BIP32 test vectors for invalid keys 2025-03-20 20:19:51 +01:00
bip152.rs Remove a bunch of `try_into().expect()` 2025-03-20 20:19:50 +01:00
bip158.rs Remove a bunch of `try_into().expect()` 2025-03-20 20:19:50 +01:00
consensus_validation.rs Stop using FQP on Amount type 2025-01-24 08:54:24 +11:00
hash_types.rs bitcoin: Remove hash type re-exports 2025-03-04 08:15:04 +11:00
internal_macros.rs Set avoid-breaking-exported-api to false 2024-12-11 10:11:50 +11:00
lib.rs Remove a bunch of `try_into().expect()` 2025-03-20 20:19:50 +01:00
policy.rs Policy: Relax MIN_STANDARD_TX_NONWITNESS_SIZE to 65 2025-02-27 00:20:08 +07:00
pow.rs chore: spellchecker 2025-03-16 07:23:18 +00:00
serde_utils.rs Elide more lifetimes 2024-10-28 15:22:13 +11:00
sign_message.rs update secp256k1 to 0.30.0 2025-03-02 23:31:48 +08:00