nLockTime property

int nLockTime

Gets the time until this transaction may be included in a block.

NOTE : Transaction locktime is either a date (denoted as a unix timestamp), or a blockheight.

If nLocktime < 500000000 , then it's a blockheight. Anytime over that number is interpreted as a timestamp. If all inputs in a transaction have TransactionInput.sequenceNumber equal to UINT_MAX, then nLockTime is ignored.

Implementation

int get nLockTime {
  return _nLockTime;
}
void nLockTime=(int lockTime)

Sets the time before this transaction may be included in a block.

Implementation

set nLockTime(int lockTime) {
  _nLockTime = lockTime;
}