rust-bitcoin-unsafe-fast/bitcoin
Jamil Lambert, PhD 3d994f7bdb
Decode an address string based on prefix
When a decoding error occurs for a bech32 address string the error is
discarded and the same address string is attempted to be decoded as
base58.  This then incorrectly returns a base58 error.

Check the string prefix and decode as bech32 or base58 and return the
relevant error.  If the prefix is unknown return an `UnknownHrpError`.
2024-10-18 10:38:28 +01:00
..
contrib Remove the SliceIndex implementation from hash types 2024-10-02 10:18:45 +10:00
embedded Move opcodes to primitives 2024-07-09 15:26:33 +10:00
examples feat: replace ENABLE_RBF_NO_LOCKTIME with ENABLE_LOCKTIME_AND_RBF 2024-10-12 12:42:43 +09:00
src Decode an address string based on prefix 2024-10-18 10:38:28 +01:00
tests psbt: Use u64 for key type 2024-10-10 11:37:40 +11:00
CHANGELOG.md Update CHANGELOG files 2024-10-05 15:45:28 +10:00
Cargo.toml bitcoin: Set version to 0.33.0-alpha 2024-10-17 08:44:40 +11:00