rust-bitcoin-unsafe-fast/bitcoin
Tobin C. Harding 3490433618
Return error from wpubkey_hash
Calling `wpubkey_hash` on a key that is uncompressed is flat out an
error, really it is a programmer error at build time because a segwit
key should never be compressed, however, for historical reasons we do
not enforce this in the type system. As a step towards clarity make it
an error to call `wpubkey_hash` on a an uncompressed pubkey. This adds
documentation and potentially might assist debugging for newer devs.
2023-12-05 09:21:51 +11:00
..
contrib bitcoin: Add signing examples 2023-10-31 10:11:48 +11:00
embedded Update to edition 2021 2023-11-23 06:20:03 +11:00
examples bitcoin: Add signing examples 2023-10-31 10:11:48 +11:00
src Return error from wpubkey_hash 2023-12-05 09:21:51 +11:00
tests Remove imports of TryFrom and TryInto 2023-11-24 03:52:05 +11:00
CHANGELOG.md Bump MSRV to Rust version 1.56.1 2023-11-23 06:20:02 +11:00
Cargo.toml Inline io module in io crate root 2023-11-28 14:17:14 +11:00
build.rs Bump MSRV to Rust version 1.56.1 2023-11-23 06:20:02 +11:00