rust-bitcoin-unsafe-fast/bitcoin/src/blockdata/script
merge-script 3119ade372
Merge rust-bitcoin/rust-bitcoin#3155: Extension trait for `Script`
0857697665 Replace impl blocks with extension traits (Martin Habovstiak)
b99bdcfdd6 Format `Script` blocks (Martin Habovstiak)
b027edffe7 Wrap `Script` impl blocks in temporary modules (Martin Habovstiak)
5a461545c7 Separate private `Script` methods (Martin Habovstiak)
27adc09e9f Generalize fn params in `define_extension_trait` (Martin Habovstiak)
fcc3cb03f0 Support non-doc attrs in extension trait macro (Martin Habovstiak)
ca1735f24c Separate POD methods (Tobin C. Harding)

Pull request description:

  This moves methods from `Script` to extension traits in steps that should be easy to follow.

  Moving to `primitives` requires doing the same with `ScriptBuf` so I'm holding off until this approach gets concept ACK (or alternatively someone else can do it :))

  Closes #3161

ACKs for top commit:
  tcharding:
    ACK 0857697665
  apoelstra:
    ACK 0857697665 successfully ran local tests

Tree-SHA512: 3768d879e36139cf971c1921d3236141cbe87d707fd4bab7852f6ed8857b7867fa4146dfe720bd54e3d8cc50ecdc93886a10254cf9a82246358253f0312ffb47
2024-08-15 17:11:03 +00:00
..
borrowed.rs Replace impl blocks with extension traits 2024-08-13 13:14:00 +02:00
builder.rs Replace impl blocks with extension traits 2024-08-13 13:14:00 +02:00
instruction.rs Use super for imports in script module 2024-07-09 15:13:08 +10:00
mod.rs Remove build cfg for versions less than MSRV 2024-08-08 12:03:06 +10:00
owned.rs Replace impl blocks with extension traits 2024-08-13 13:14:00 +02:00
push_bytes.rs implement IndexMut for PushBytes 2024-08-11 21:57:20 +02:00
tests.rs Add an extension trait for script validation 2024-07-29 07:48:07 -05:00
witness_program.rs Replace impl blocks with extension traits 2024-08-13 13:14:00 +02:00
witness_version.rs Remove re-export of ParseIntError 2024-07-17 08:01:32 +10:00