rust-bitcoin-unsafe-fast/bitcoin
Andrew Poelstra 7b7461c5d9
Merge rust-bitcoin/rust-bitcoin#2039: Add a `consensus::deserialize_hex` function
16a813734c Implement consensus deserialize_hex (Tobin C. Harding)

Pull request description:

  We have `serialize_hex` and `deserialize` but no `deserialize_hex`, add it.

  Move the `IterReader` out of `consensus::serde` to the `consensus` module.

  Add some additional logic to the `DecodeError`, I'm not sure why this wasn't there before?

  Use the `HexSliceToBytesIter` by way of the `IterReader` to deserialize an arbitrary hex string. Add unit tests to check that we consume all bytes when deserializing a fixed size object (a transaction).

ACKs for top commit:
  apoelstra:
    ACK 16a813734c
  sanket1729:
    ACK 16a813734c

Tree-SHA512: 121285cb328ca01bf9fd2a716e6d625fa93113a11613d44c576e3e49a9d06dc181165d2d9bfb9beea7c3d2aff264f64ade4965acd594b05ce0d1660e7493d2e4
2024-03-17 20:19:02 +00:00
..
contrib ci: delete *test.sh files 2024-02-28 20:45:56 +00:00
embedded Add a new base58 crate 2024-02-23 12:54:24 +11:00
examples Support signing taproot in psbt 2024-02-22 10:42:44 +08:00
src Merge rust-bitcoin/rust-bitcoin#2039: Add a `consensus::deserialize_hex` function 2024-03-17 20:19:02 +00:00
tests Support signing taproot in psbt 2024-02-22 10:42:44 +08:00
CHANGELOG.md Remove no-std feature 2023-12-06 09:54:33 +11:00
Cargo.toml Upgrade bitcoinconsenus 2024-03-12 12:04:32 +11:00
build.rs Bump MSRV to Rust version 1.56.1 2023-11-23 06:20:02 +11:00