rust-bitcoin-unsafe-fast/units/src
Jamil Lambert, PhD 9ea8c58ad6 Fix case sensitivity of denomination
The comment in `FromStr` says that any combination of upper and lower case is considered valid, but the code only allowed a set list of variations. It also had a non exhaustive list of `CONFUSING_FORMS`.

The comment and code has been changed to only consider all upper case or all lower case denominations as valid or where BTC/btc is prefixed with a lower case c, m or u.  `CONFUSING_FORMS` has been changed to contain all combinations of an upper case prefix on an otherwise valid denomination.
2024-06-18 10:46:17 +01:00
..
locktime 2024-05-26 automated rustfmt nightly 2024-05-26 01:07:01 +00:00
amount.rs Fix case sensitivity of denomination 2024-06-18 10:46:17 +01:00
block.rs units: Add BlockHeight and BlockInterval types 2024-05-30 16:49:30 +10:00
fee_rate.rs Move unit types to units 2024-03-12 11:59:39 +11:00
lib.rs units: Add BlockHeight and BlockInterval types 2024-05-30 16:49:30 +10:00
parse.rs Flesh out hex unit parsing API 2024-05-24 14:32:47 +10:00
test_macros.rs fix: Manually implement serde traits 2024-03-20 11:33:14 +11:00
weight.rs Move unit types to units 2024-03-12 11:59:39 +11:00