rust-bitcoin-unsafe-fast/units/src
Tobin C. Harding a1ce2d1ac8
Use _u32 in FeeRate constructor instead of _unchecked
When constructing an `Amount` it was observed recently that a `u32` is
often big enough. For the same reason we can use a `u32` to construct a
fee rate instead of overflowing.

Use `_u32`in the constructor and remove the panic.
2025-05-22 10:47:34 +10:00
..
amount Fix expecting string for amount types 2025-05-14 12:31:16 +10:00
fee_rate Use _u32 in FeeRate constructor instead of _unchecked 2025-05-22 10:47:34 +10:00
locktime Add tests to relative locktime 2025-05-20 16:05:47 +01:00
block.rs Add tests to block 2025-05-20 16:04:23 +01:00
fee.rs Merge rust-bitcoin/rust-bitcoin#4487: Automated nightly rustfmt (2025-05-11) 2025-05-12 16:31:13 +00:00
internal_macros.rs Create impl_mul_assign and impl_div_assign macros 2025-04-22 22:50:09 -05:00
lib.rs Merge rust-bitcoin/rust-bitcoin#4458: locktimes: replace `MtpAndHeight` type with pair of `BlockMtp` and `BlockHeight` 2025-05-07 22:32:16 +00:00
parse.rs Use parameters instead of arguments in rustdocs 2025-04-22 10:43:13 +01:00
result.rs Merge rust-bitcoin/rust-bitcoin#4532: units: Kill mutants found in weekly mutation testing 2025-05-21 15:23:44 +00:00
time.rs units: Manually implement serde traits 2025-05-14 14:31:39 +10:00
weight.rs 2025-05-18 automated rustfmt nightly 2025-05-18 01:40:39 +00:00