@smartledger/bsv 9.3.0 → 9.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bsv.d.ts CHANGED
@@ -1112,6 +1112,14 @@ declare module '@smartledger/bsv' {
1112
1112
  }
1113
1113
  class Policy {
1114
1114
  payTo(dest: Address | PublicKey | Script | Transaction.Output, satoshis: number): Policy;
1115
+ /**
1116
+ * Require nLockTime >= height, in the unit `height` itself uses: below
1117
+ * 500000000 a block height, at or above it a unix timestamp. The compiled
1118
+ * script also requires the spending input to be non-final, without which
1119
+ * consensus ignores nLockTime entirely.
1120
+ *
1121
+ * @throws if height is not an integer in 1..4294967295. 0 means "no lock".
1122
+ */
1115
1123
  lockUntil(height: number): Policy;
1116
1124
  outputs(): Transaction.Output[];
1117
1125
  describe(): string;