rust-bitcoin-unsafe-fast/bitcoin
Martin Habovstiak a92d49fe33 Implement `CompressedPublicKey`
P2WPKH requires keys to be compressed which introduces error handling
even in cases when it's statically known that a key is compressed. To
avoid it, this change introduces `CompressedPublicKey` which is similar
to `PublicKey` except it's statically known to be compressed.

This also changes relevant code to use `CompressedPublicKey` instead of
`PublicKey`.
2023-12-12 15:16:16 +01:00
..
contrib bitcoin: Add DO_FEATURE_MATRIX 2023-12-06 10:09:05 +11:00
embedded Implement `CompressedPublicKey` 2023-12-12 15:16:16 +01:00
examples Implement `CompressedPublicKey` 2023-12-12 15:16:16 +01:00
src Implement `CompressedPublicKey` 2023-12-12 15:16:16 +01:00
tests Remove Network from AddressInner 2023-12-05 09:27:15 +11:00
CHANGELOG.md Remove no-std feature 2023-12-06 09:54:33 +11:00
Cargo.toml Add bitcoin-units crate 2023-12-11 08:52:31 +11:00
build.rs Bump MSRV to Rust version 1.56.1 2023-11-23 06:20:02 +11:00