rust-bitcoin-unsafe-fast/bitcoin/examples
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
..
bip32.rs Implement `CompressedPublicKey` 2023-12-12 15:16:16 +01:00
ecdsa-psbt.rs Implement `CompressedPublicKey` 2023-12-12 15:16:16 +01:00
handshake.rs Move p2p::constants::Network to crate root 2023-08-01 16:46:59 +10:00
sighash.rs Implement `CompressedPublicKey` 2023-12-12 15:16:16 +01:00
sign-tx-segwit-v0.rs bitcoin: Add signing examples 2023-10-31 10:11:48 +11:00
sign-tx-taproot.rs bitcoin: Add signing examples 2023-10-31 10:11:48 +11:00
taproot-psbt.rs Use Message::from_digest 2023-10-11 08:16:25 +11:00