Convert a JavaScript Date object to its equivalent transaction locktime
bytecode representation. The date is rounded to the nearest second (the
precision of locktime Dates).
Note: a block-based locktime can simply be encoded with
numberToBinUint32LE (provided it is no larger than the
maximum, 499999999).
Convert a JavaScript
Date
object to its equivalent transactionlocktime
bytecode representation. Thedate
is rounded to the nearest second (the precision oflocktime
Dates).Note: a block-based locktime can simply be encoded with numberToBinUint32LE (provided it is no larger than the maximum,
499999999
).