rust-bitcoin-unsafe-fast/bitcoin
Tobin C. Harding feef34fdea
Make ScriptBuf::p2wpkh_script_code stand alone
We would like to move the `Script` type to `primitives` without moving
any key stuff, including pubkey hashes. We may later, before releasing
`primitives`, move the `WPubkeyHash` at which time this patch can be
reverted or re-implemented on `ScriptBuf`.

The `ScriptBuf::p2wpkh_script_code` function does not take `self` as a
parameter but it does return `Self` - this can trivially be made into a
standalone function.

Make `ScriptBuf::p2wpkh_script_code` a standalone function.
2024-07-23 11:24:31 -05:00
..
contrib CI: Remove shebang from non-executable scripts 2024-05-31 10:10:00 +10:00
embedded Move opcodes to primitives 2024-07-09 15:26:33 +10:00
examples Use lower case error messages 2024-07-15 09:25:08 +01:00
src Make ScriptBuf::p2wpkh_script_code stand alone 2024-07-23 11:24:31 -05:00
tests 2024-07-21 automated rustfmt nightly 2024-07-21 01:11:38 +00:00
CHANGELOG.md Capitalize Merkle 2024-07-01 17:42:43 +01:00
Cargo.toml Add/fix alloc features 2024-07-11 10:14:50 +10:00
build.rs Use lower case error messages 2024-07-15 09:25:08 +01:00