Expand description
Provides type LockTime
that implements the logic around nSequence/OP_CHECKSEQUENCEVERIFY.
There are two types of lock time: lock-by-blockheight and lock-by-blocktime, distinguished by
whether bit 22 of the u32
consensus value is set.
Structs
- A relative lock time lock-by-blockheight value.
- A relative lock time lock-by-blocktime value.
Enums
- Errors related to relative lock times.
- A relative lock time value, representing either a block height or time (512 second intervals).