Module sapio_base::timelocks
source · Expand description
Helpers for making correct time locks
Modules
- Type Tags used for creating lock time variants. The module lets us keep them public while not polluting the name space.
Structs
- LockTime represents either a nLockTime or a Sequence field. They are represented generically in the same type
Enums
- Any Absolute Time Lock
- Any Relative Time Lock
- Any Time Lock (Relative, Absolute) x (Height, Time)
- Error in Creating a LockTime
Constants
- Maximum Date
- Minimum Date
Type Aliases
- LockTime for Absolute Height
- LockTime for Absolute MTP
- LockTime for Relative Height
- LockTime for Relative MTP