rust-bitcoin-unsafe-fast/bitcoin/src
merge-script 60e15b8007
Merge rust-bitcoin/rust-bitcoin#3194: priority: Prepare moving script types to `primitives`
8f2f4cbb3c Re-order optional dependencies (Tobin C. Harding)
95f2a8dab6 Do not access ScriptBuf inner from builder (Tobin C. Harding)
900af453ff Stop accessing inner ScriptBuf field when encoding (Tobin C. Harding)
8b82363d97 Use Script::as_bytes instead of inner when indexing (Tobin C. Harding)
b0675a4a4f Use Script::len instead of inner field (Tobin C. Harding)
374c6118dc Deprecate Script::fmt_asm and to_asm_str (Tobin C. Harding)

Pull request description:

  Move the `Script` and `ScriptBuf` types to `primitives`. There were still a few preparations required, things we had missed while creating the extension traits.

  Note also please, in the last patch, we enable `hex` from the `serder` feature. This is not the final state we want but like we did for `alloc` it is a step to reduce the size of the diff.

ACKs for top commit:
  Kixunil:
    ACK 8f2f4cbb3c
  apoelstra:
    ACK 8f2f4cbb3c successfully ran local tests

Tree-SHA512: 62a5f3c253ecb54d95c37fdc7eb955f3952909dc3bca20444b85c44665f54d5a0c48daf729bed0dd60ff3e9571b41deed039984c8b757b075ac6e136cacd17d7
2024-09-13 16:58:59 +00:00
..
address Change T::from_str(s) to s.parse::<T>() in tests 2024-08-28 16:13:03 +01:00
blockdata Merge rust-bitcoin/rust-bitcoin#3194: priority: Prepare moving script types to `primitives` 2024-09-13 16:58:59 +00:00
consensus Allow unused variables in release mode 2024-09-05 12:46:13 +10:00
crypto 2024-09-08 automated rustfmt nightly 2024-09-08 01:17:12 +00:00
merkle_tree Stop using all_zeros 2024-09-11 10:39:49 +10:00
network 2024-08-25 automated rustfmt nightly 2024-08-25 01:14:09 +00:00
p2p 2024-09-08 automated rustfmt nightly 2024-09-08 01:17:12 +00:00
psbt Fix clippy rustdocs warnings 2024-08-30 05:47:31 +10:00
taproot Implement impl_to_hex_from_lower_hex macro for types that implement fmt::LowerHex 2024-08-31 22:41:40 -05:00
bip32.rs Change T::from_str(s) to s.parse::<T>() in tests 2024-08-28 16:13:03 +01:00
bip152.rs Fix clippy rustdocs warnings 2024-08-30 05:47:31 +10:00
bip158.rs feat(bip158): compute canonical filter hash 2024-08-22 10:33:14 -10:00
consensus_validation.rs Generalize fn params in `define_extension_trait` 2024-08-13 13:13:10 +02:00
hash_types.rs Use TBD in deprecated attribute 2024-08-23 14:49:57 +10:00
internal_macros.rs Use as_byte_array to encode hash type 2024-09-11 10:34:44 +10:00
lib.rs Allow unused imports when running bench code 2024-09-05 12:46:13 +10:00
policy.rs Remove usage of blockdata from paths 2024-06-20 12:00:22 +10:00
pow.rs 2024-09-08 automated rustfmt nightly 2024-09-08 01:17:12 +00:00
serde_utils.rs bitcoin: add a couple missing prelude imports 2024-08-22 16:55:32 +00:00
sign_message.rs 2024-09-08 automated rustfmt nightly 2024-09-08 01:17:12 +00:00