rust-bitcoin-unsafe-fast/units/src
merge-script 8ca3a430c7
Merge rust-bitcoin/rust-bitcoin#4336: units: Make minor improvements to `MathOp`
0f62c9a582 units: Make minor improvements to MathOp (Tobin C. Harding)

Pull request description:

  Follow up from #4312, improve the `MathOp` type by:

  - Do not provide public constructor
  - Add cast protection

ACKs for top commit:
  apoelstra:
    ACK 0f62c9a5822a813be5c6f6b19d160458243f174a; successfully ran local tests
  Kixunil:
    ACK 0f62c9a582

Tree-SHA512: dbb06c5afd8df5364a2aec12b7c8632620a1e8f3955b83e91a9b4f5c2e0daaa1ecdb050d8e395e95bf018d718847cddbf3338bd89f70cbb0382bf5e080d5cf21
2025-04-20 16:35:47 +00:00
..
amount Run the formatter 2025-04-17 11:43:02 +10:00
fee_rate Run the formatter 2025-04-17 11:43:05 +10:00
locktime Make struct titles consistent 2025-04-15 21:23:31 +01:00
block.rs Use impl_add/sub_assign for block interval 2025-03-03 13:16:10 +11:00
fee.rs Run the formatter 2025-04-17 11:43:02 +10:00
internal_macros.rs units: Fix internal docs 2025-04-07 12:14:12 +10:00
lib.rs units: Improve crate level docs 2025-04-14 14:33:26 +10:00
parse.rs chore: remove needless question mark 2025-03-29 01:00:06 +08:00
result.rs Merge rust-bitcoin/rust-bitcoin#4336: units: Make minor improvements to `MathOp` 2025-04-20 16:35:47 +00:00
time.rs Add privacy boundary to BlockTime 2025-04-17 11:43:05 +10:00
weight.rs Run the formatter 2025-04-17 11:43:05 +10:00