rust-bitcoin-unsafe-fast/units/src
Martin Habovstiak 22747149a9 Add convenience constants to `Denomination`
`Denomination::Bitcoin` and `Denomination::Satoshi` are often used,
especially in test code so this change adds `BTC` and `SAT` - short,
readable constants. Notably this doesn't add the other constants as that
would lead to either unidiomatic names or confusing casing (MSAT meaning
millisat not megasat) and they are not used that much anyway.
2024-01-20 22:12:52 +01:00
..
amount.rs Add convenience constants to `Denomination` 2024-01-20 22:12:52 +01:00
lib.rs Remove ToOwned from prelude 2023-12-12 08:55:03 +11:00