rust-bitcoin-unsafe-fast/units/src
merge-script 7dcff506dd
Merge rust-bitcoin/rust-bitcoin#4542: Fix FeeRate::checked_add/sub
395252c6d9 Fix FeeRate::checked_add/sub (Tobin C. Harding)

Pull request description:

  Currently the `checked_add` and `checked_sub` functions use a `u64` for the right hand side. This leaks the inner unit because the RHS value is implicitly in the same unit.

  Make the functions have `FeeRate` on the RHS.

ACKs for top commit:
  apoelstra:
    ACK 395252c6d95fdd581ce5e8ad5d7978515aafea23; successfully ran local tests; will one-ACK merge as this is units-only

Tree-SHA512: 1f0893f75c47f720ac741ace0274171ed24efcb6d2724d0fed941899d43b213e165b97aa050d6e40eea78c527af45d090a81b9d6cbd95835ef7105585786fca6
2025-05-23 03:57:18 +00:00
..
amount Fix expecting string for amount types 2025-05-14 12:31:16 +10:00
fee_rate Merge rust-bitcoin/rust-bitcoin#4542: Fix FeeRate::checked_add/sub 2025-05-23 03:57:18 +00: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 units: re-order ceil/floor functions 2025-05-22 10:50:34 +10: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