Function determine_lock_time

Source
pub fn determine_lock_time<L: LockTimeInput>(
    global: &Global,
    inputs: &[L],
) -> Option<u32>
Expand description

Determines the lock time for the transaction.

Implemented following the specification in BIP 370, with the rationale that this makes integration of PCZTs simpler for codebases that already support PSBTs.