Skip to content

Commit a6f1cf3

Browse files
chore(bip-0046): improve timelock point in time explanation
1 parent 722a388 commit a6f1cf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bip-0046.mediawiki

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ For <tt>index</tt>, addresses are numbered from 0 in a sequentially increasing m
7777

7878
=== Timelock derivation ===
7979

80-
The timelock used in the time-locked address is derived from the <tt>index</tt>. The timelock is a unix time. It is always the first of the month at midnight. The <tt>index</tt> counts upwards the months from January 2020, ending in December 2099. At 12 months per year for 80 years this totals 960 timelocks. Note that care must be taken with the year 2038 problem on 32-bit systems.
80+
The timelock used in the time-locked address is derived from the <tt>index</tt>. The timelock is a unix time. It is always at the start of the first second at the beginning of the month (see [[#Test vectors|Test vectors]]). The <tt>index</tt> counts upwards the months from January 2020, ending in December 2099. At 12 months per year for 80 years this totals 960 timelocks. Note that care must be taken with the year 2038 problem on 32-bit systems.
8181

8282
<pre>
8383
year = 2020 + index // 12

0 commit comments

Comments
 (0)