diff --git a/primitives/src/locktime/absolute.rs b/primitives/src/locktime/absolute.rs index da8ef86b7..6d88388db 100644 --- a/primitives/src/locktime/absolute.rs +++ b/primitives/src/locktime/absolute.rs @@ -28,7 +28,9 @@ pub use units::locktime::absolute::{ConversionError, Height, ParseHeightError, P /// ### Note on ordering /// /// Locktimes may be height- or time-based, and these metrics are incommensurate; there is no total -/// ordering on locktimes. We therefore have implemented [`PartialOrd`] but not [`Ord`]. +/// ordering on locktimes. In order to compare locktimes, instead of using `<` or `>` we provide the +/// [`LockTime::is_satisfied_by`] API. +/// /// For [`Transaction`], which has a locktime field, we implement a total ordering to make /// it easy to store transactions in sorted data structures, and use the locktime's 32-bit integer /// consensus encoding to order it. We also implement [`ordered::ArbitraryOrd`] if the "ordered" @@ -319,19 +321,6 @@ impl From