rust-bitcoin-unsafe-fast/bitcoin
Andrew Poelstra 70223027b9
Merge rust-bitcoin/rust-bitcoin#2035: Improve witness display
de95bf52cb Use checked_sub (Tobin C. Harding)

Pull request description:

  Recently we "if" guarded subtraction manually using `> 0`, we can better convey the meaning by using `checked_sub` and pattern match on the option.

  Refactor only, no logic changes.

ACKs for top commit:
  RCasatta:
    utACK de95bf52cb
  apoelstra:
    ACK de95bf52cb

Tree-SHA512: 2514cc2d8af89158e5e5e5a866f3fadb4927ba07dfb4e077fd16a98acf638588bee5ce03e2dc73fbda0b5064c30d8773d3be583c03c2a5336b8738c212a9776f
2023-09-05 13:23:38 +00:00
..
contrib hashes: Bump version to 0.13.0 2023-08-24 12:25:42 +10:00
embedded Add patch section to test crates 2023-07-18 10:27:48 +10:00
examples Merge rust-bitcoin/rust-bitcoin#2019: Rename xpub and xpriv types 2023-08-25 13:41:50 +00:00
src Merge rust-bitcoin/rust-bitcoin#2035: Improve witness display 2023-09-05 13:23:38 +00:00
tests Rename xpub and xpriv types 2023-08-22 13:47:35 +10:00
CHANGELOG.md Add changelo entry for removal of FromHex 2023-05-18 14:18:42 +10:00
Cargo.toml Update base64 usage to 0.21.3 2023-08-30 22:47:56 -07:00
build.rs Remove rust_v_1_46 2023-03-23 08:27:10 +11:00