rust-bitcoin-unsafe-fast/units/src
merge-script ecffb4071b
Merge rust-bitcoin/rust-bitcoin#4169: units: Increase ops impls in `block` module
3ae21d5111 Use impl_add/sub_assign for block interval (Tobin C. Harding)
9d55922952 Use impl_op_for_references for block height/interval (Tobin C. Harding)
f5e17914b6 Move Assign impls together (Tobin C. Harding)
cc66838e80 units: Remove unnecessary code comments (Tobin C. Harding)

Pull request description:

  Improve the ops impls in the `block` module using the already present macros.

ACKs for top commit:
  apoelstra:
    ACK 3ae21d5111444f5e01f6cfb1a2b9b314f66418a3; successfully ran local tests; nice!

Tree-SHA512: 6565426a06bb47d337d21cf5c59acca43e69228dbec8319fc95373025d220d8ec6273c54f214f312c4229603c455d08e4c6a8c108663c6db5086df36266979de
2025-03-26 02:21:12 +00:00
..
amount Make usage of Self and type uniform across both modules 2025-03-21 14:26:35 -03:00
fee_rate units: replace a gazillion more macro calls with new macro 2025-02-25 20:31:45 +00:00
locktime Kill remaining mutants 2025-01-21 17:01:36 -06:00
block.rs Use impl_add/sub_assign for block interval 2025-03-03 13:16:10 +11:00
fee.rs amount: add from_sat_i32 and from_sat_u32 methods for small constants 2025-03-18 19:27:53 +00:00
internal_macros.rs units: extend op reference macro to handle generics and where clauses 2025-02-25 20:31:45 +00:00
lib.rs Rename timestamp module to time 2025-03-08 08:30:10 +11:00
parse.rs units: Improve code comment on macros 2025-02-28 08:47:11 +11:00
time.rs Rename timestamp module to time 2025-03-08 08:30:10 +11:00
weight.rs Merge rust-bitcoin/rust-bitcoin#4174: Improve weight 2025-03-06 15:58:59 +00:00