rust-bitcoin-unsafe-fast/internals/src
merge-script a2408e9b0c
Merge rust-bitcoin/rust-bitcoin#4281: Return `ControlBlock` from `Witness::taproot_control_block`
492073f288 Strengthen the type of `taproot_control_block()` (Martin Habovstiak)
e8a42d5851 Unify/reduce usage of `unsafe` (Martin Habovstiak)
d42364bd9d Swap around the fields in `Address` (Martin Habovstiak)
7a115e3cf1 Make `Address` obey sanity rules (Martin Habovstiak)
bc6da1fe07 Swap around the fields in `sha256t::Hash` (Martin Habovstiak)
8ee088df74 Make `sha256t` obey sanity rules (Martin Habovstiak)

Pull request description:

  Well, I thought this PR will be just the last commit... 😅

  Anyway, this implements a bunch of changes to allow returning `ControlBlock` from `Witness` method(s). One cool side effect is that this PR also reduces the number of `unsafe` blocks.

ACKs for top commit:
  apoelstra:
    ACK 492073f28876406f8fe5a07a8a2495c8e0ba1fb3; successfully ran local tests

Tree-SHA512: 11979517cc310abf25644fc93a75deccacae66af8ba2d9b4011fdc3f414b15fac7e748399c7eef492ca850c11b7aacc3f24ec46fccf95e6d57a400212979637e
2025-03-28 15:06:43 +00:00
..
error Update input_string.rs 2025-02-25 12:03:03 +02:00
array.rs Remove a bunch of `try_into().expect()` 2025-03-20 20:19:50 +01:00
array_vec.rs chore: fix some typos in comments 2025-02-28 17:55:31 +08:00
compact_size.rs Run the formatter 2024-10-10 10:39:53 +11:00
const_tools.rs Refactor Rust version checking 2024-08-19 15:21:01 +02:00
lib.rs Unify/reduce usage of `unsafe` 2025-03-27 20:15:37 +01:00
macros.rs Merge rust-bitcoin/rust-bitcoin#4281: Return `ControlBlock` from `Witness::taproot_control_block` 2025-03-28 15:06:43 +00:00
parse.rs clippy: change accidental doccomments into correct comments 2024-09-30 12:30:57 +00:00
script.rs Re-write (and re-name) read_uint_iter 2024-09-09 06:31:39 +10:00
serde.rs Make `hex` in `internals` optional 2025-03-04 12:33:04 +01:00
slice.rs Remove a bunch of `try_into().expect()` 2025-03-20 20:19:50 +01:00
wrap_debug.rs Abstract out "debug-print hex fields" using WrapDebug 2025-02-20 10:56:12 -03:00