rust-bitcoin-unsafe-fast/bitcoin/src/util
Andrew Poelstra 60f3a19acd
Merge rust-bitcoin/rust-bitcoin#1380: `Witness` API improvements
d78a996bf6 Add `Witness::from_slice()` and depreciate `Witness:from_vec()` (Noah Lanson)
d5bdf5d225 Add non-generic `Witness::push_slice()` method (Noah Lanson)

Pull request description:

  Cleanup PR to improve the `Witness` API by:
  - Adding `Witness::from_slice()` and depreciating `Witness::from_vec()` methods (#1371).
  - Making `Witness::push()` not generic and take in `&[u8]` instead of `AsRef<[u8]>` (#1372).

  Note: `Witness::from_vec()` has been marked for depreciation from `0.30.0`. Let me know if this should be different.

ACKs for top commit:
  tcharding:
    ACK d78a996bf6
  apoelstra:
    ACK d78a996bf6

Tree-SHA512: 3a0b11b1ea77966a773cf7c9e9853822192897eac495fc0a23068bad3b0c46714fc839b20ceeb6e076aa10ea8ff0c023dfc418feff2f892cf11e8c057e5b0c7d
2022-11-14 20:50:06 +00:00
..
psbt Merge rust-bitcoin/rust-bitcoin#1380: `Witness` API improvements 2022-11-14 20:50:06 +00:00
base58.rs Improve checksum documentation 2022-10-29 10:35:08 +11:00
ecdsa.rs Move sighash module to crate root 2022-10-25 09:14:01 +11:00
key.rs base58: Rename public functions 2022-10-29 10:35:08 +11:00
merkleblock.rs Make types in block module more terse 2022-11-06 06:54:12 +11:00
mod.rs Remove deprecated re-exports 2022-11-08 11:55:35 +11:00
schnorr.rs Try to fix up sighash export mess 2022-09-19 16:46:02 +10:00
taproot.rs Use capital letters for Bitcoin Core 2022-11-06 06:54:12 +11:00