rust-bitcoin-unsafe-fast/bitcoin/src/consensus
Andrew Poelstra 5c56b69eed
Merge rust-bitcoin/rust-bitcoin#2667: Remove deprecated legacy numeric methods
051c358bcb Remove deprecated legacy numeric methods (Divyansh Gupta)

Pull request description:

  As `rustc 1.79.0-nightly (9d79cd5f7 2024-04-05)` is released which solves the issue mentioned , but the release has deperacted legacy numeric methods.
  Thus replaced `u16::max_value()` etc with `u32::MAX` & `core::u16` to directly `u16`.

  fix #2639

ACKs for top commit:
  tcharding:
    ACK 051c358bcb
  apoelstra:
    ACK 051c358bcb thanks! I will remove an equivalent commit from my #2669

Tree-SHA512: c08c856f7f3b281417c29283351eac5e0f75cc1c8d23d9aae58d969219a327b2337fe57932053e53773ebb9dbec04254f90149266b6639a66c5c09f2ad1675ef
2024-04-07 15:15:47 +00:00
..
encode.rs Merge rust-bitcoin/rust-bitcoin#2667: Remove deprecated legacy numeric methods 2024-04-07 15:15:47 +00:00
mod.rs 2024-03-31 automated rustfmt nightly 2024-03-31 01:03:18 +00:00
params.rs Minimize usage of Network in public API 2024-04-03 13:32:39 +11:00
serde.rs 2024-03-31 automated rustfmt nightly 2024-03-31 01:03:18 +00:00
validation.rs Implement infallible for errors 2024-03-08 16:48:34 +11:00