rust-bitcoin-unsafe-fast/bitcoin
Tobin C. Harding d5492b8a25 Add absolute::LockTime::is_implied_by method
When filtering it is necessary to check two lock times against each
other, we currently provide a patter for doing so in the docs but we can
do better.

It was observed that satisfaction of a lock time 'implies' satisfaction
of another lock time if the lock times are the same unit and one locks
value is less than the others - this is exactly the code pattern we
suggest for filtering.

Add a method on `absolute::LockTime` for checking a lock against another
lock, add rustdoc comment explaining the methods function in filtering
prospective lock time values (how we use it in `rust-miniscript`).
2022-09-15 09:21:13 +10:00
..
contrib Add a workspace to the top level directory. 2022-09-13 08:44:57 +10:00
examples Add a workspace to the top level directory. 2022-09-13 08:44:57 +10:00
src Add absolute::LockTime::is_implied_by method 2022-09-15 09:21:13 +10:00
test_data Add a workspace to the top level directory. 2022-09-13 08:44:57 +10:00
Cargo.toml Introduce bitcoin-internals crate 2022-09-13 08:59:57 +10:00