Tobin C. Harding
669d5e8fc6
base58: Add InvalidCharacterError for decoding
...
The `base58::decode` function can only return a single error type, add a
`InvalidCharacterError` struct (leaf error) to use as the return type.
2024-03-21 06:22:51 +11:00
Tobin C. Harding
6b09857f55
base58: Re-name crate to base58ck
...
The current name `base58check` is taken, as is `base58`. Use `base58ck`
instead.
Add a brief section to the readme about the crate naming.
2024-03-19 09:00:46 +11:00
Tobin C. Harding
4bfb466bb9
Upgrade hex dependency
...
Upgrade to the new `hex v0.2.0` release.
2024-03-10 10:35:01 +11:00
Liam Aharon
b9f7462958
Implement infallible for errors
...
Creates a new macro `impl_from_infallible`, and applies it to custom
error types in the codebase.
Closes #1222 .
2024-03-08 16:48:34 +11:00
Tobin C. Harding
aa8ba118ae
Add a new base58 crate
...
Add a new `base58` crate to the workspace and move the `bitcoin::base58`
module to it.
Done as part of crate smashing, specifically so that we can make `bip32`
into a separate crate.
2024-02-23 12:54:24 +11:00