rust-bitcoin-unsafe-fast/bitcoin
Andrew Poelstra 6a2fd96ff6
Merge rust-bitcoin/rust-bitcoin#2581: Implement ArbitraryOrd for relative::LockTime
d91cdd20bf docs: Document ordered feature (Tobin C. Harding)
3520f550f0 Implement ArbitraryOrd for relative::LockTime (Tobin C. Harding)

Pull request description:

  TL;DR As we do for `absolute::LockTime` and for the same reasons; implement `ArbitraryOrd` for `relative::LockTime`.

  locktimes do not have a semantic ordering if they differ (blocks, time) so we do not derive `Ord` however it is useful for downstream to be able to order structs that contain lock times. This is exactly what the `ArbitraryOrd` trait is for.

  Fix: #2566

ACKs for top commit:
  sanket1729:
    ACK d91cdd20bf
  apoelstra:
    ACK d91cdd20bf

Tree-SHA512: 52ace9222e765dfa266d003b4aff3e93e35d1414c9fd579c4a4a36998d6d1b08bf6d4964a6f1c1d769068d65e47a882495daa4aacf254909a35dce8e01c99a9e
2024-04-02 00:36:12 +00:00
..
contrib ci: delete *test.sh files 2024-02-28 20:45:56 +00:00
embedded base58: Re-name crate to base58ck 2024-03-19 09:00:46 +11:00
examples 2024-03-31 automated rustfmt nightly 2024-03-31 01:03:18 +00:00
src Merge rust-bitcoin/rust-bitcoin#2581: Implement ArbitraryOrd for relative::LockTime 2024-04-02 00:36:12 +00:00
tests 2024-03-31 automated rustfmt nightly 2024-03-31 01:03:18 +00:00
CHANGELOG.md Remove no-std feature 2023-12-06 09:54:33 +11:00
Cargo.toml internals: Bump version to 0.3.0 2024-03-27 09:44:30 +11:00
build.rs Bump MSRV to Rust version 1.56.1 2023-11-23 06:20:02 +11:00