rust-bitcoin-unsafe-fast/units/src
merge-script f9bc0f517d
Merge rust-bitcoin/rust-bitcoin#4344: Locktime MtpAndHeight
8b47068a2e feat(locktime): implement MtpAndHeight structure and validation logic (aagbotemi)

Pull request description:

  This PR fixes #4299

  - Computed MtpAndHeight structure
  - Checked if relative time and height is satisfied by MtpAndHeight
  - Compared the Ordering of MtpAndHeight with time and height
  - Checked MtpAndHeight satisfaction and comparison in Locktime
  - Added unit tests for all the implementation

  I've reviewed and adhered to the contribution guidelines

ACKs for top commit:
  apoelstra:
    ACK 8b47068a2efada30aec21c61ae4be0da4d8e8fc8; successfully ran local tests
  Kixunil:
    ACK 8b47068a2e
  tcharding:
    ACK 8b47068a2e

Tree-SHA512: b00d1384d5deaa038b486ca9d77ad33cfa6cd8c987e08407863f2be8d540014bdcc971cd9d46acb51a2d105341accc04ba151e5cccb276e8352a5d45b33097eb
2025-04-28 13:49:12 +00:00
..
amount 2025-04-27 automated rustfmt nightly 2025-04-27 01:36:56 +00:00
fee_rate Run the formatter 2025-04-17 11:43:05 +10:00
locktime Merge rust-bitcoin/rust-bitcoin#4344: Locktime MtpAndHeight 2025-04-28 13:49:12 +00: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 Create impl_mul_assign and impl_div_assign macros 2025-04-22 22:50:09 -05:00
lib.rs Merge rust-bitcoin/rust-bitcoin#4344: Locktime MtpAndHeight 2025-04-28 13:49:12 +00:00
mtp_height.rs feat(locktime): implement MtpAndHeight structure and validation logic 2025-04-25 12:24:23 +01:00
parse.rs Use parameters instead of arguments in rustdocs 2025-04-22 10:43:13 +01:00
result.rs 2025-04-27 automated rustfmt nightly 2025-04-27 01:36:56 +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