rust-bitcoin-unsafe-fast/units/src/amount
merge-script b473a2090a
Merge rust-bitcoin/rust-bitcoin#4258: units: Improve code enforcing privacy boundry
ca6c607953 Adhere to sanity rules for amount types (Tobin C. Harding)
6c614d9320 units: Fix panic message (Tobin C. Harding)

Pull request description:

  This is a follow up to #4256 - onwards and upwards!

  - Patch 1: Fix the incorrect BTC value in panic message
  - Patch 2: Strictly adhere to the sanity rules (#4090)

   Close: #4140

ACKs for top commit:
  apoelstra:
    ACK ca6c607953c03aa2dc168f58329681d9e69eee04; successfully ran local tests

Tree-SHA512: 6d7fd60830e1a0f6d6262ab02ec6e297b095d0fe8fb7737563979652e4a3b4a9477a79982201c42b08e2555fd23dc5c430549966b534bdf45f40621ae81da83a
2025-04-16 18:33:09 +00:00
..
error.rs Fix grammatical typos 2025-03-27 20:49:19 +02:00
mod.rs refactor: Replace fold with try_fold 2025-04-15 08:21:11 -05:00
result.rs units: Enable differentiating div-by-zero 2025-04-08 09:04:30 +10:00
serde.rs Enforce the MAX_MONEY invariant in amount types 2025-03-13 09:07:14 +11:00
signed.rs Adhere to sanity rules for amount types 2025-04-03 13:09:40 +11:00
tests.rs Add a test to kill mutants in MathOp 2025-04-11 09:31:13 +01:00
unsigned.rs Adhere to sanity rules for amount types 2025-04-03 13:09:40 +11:00
verification.rs Enforce the MAX_MONEY invariant in amount types 2025-03-13 09:07:14 +11:00