rust-bitcoin-unsafe-fast/bitcoin/src/util/psbt
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
..
map Remove deprecated re-exports 2022-11-08 11:55:35 +11:00
error.rs Remove deprecated re-exports 2022-11-08 11:55:35 +11:00
macros.rs Add a workspace to the top level directory. 2022-09-13 08:44:57 +10:00
mod.rs Merge rust-bitcoin/rust-bitcoin#1380: `Witness` API improvements 2022-11-14 20:50:06 +00:00
raw.rs Remove code deprecated last release 2022-09-16 08:08:53 +10:00
serialize.rs Remove deprecated re-exports 2022-11-08 11:55:35 +11:00