diff options
author | theborakompanioni <theborakompanioni+github@gmail.com> | 2024-05-27 10:25:14 +0200 |
---|---|---|
committer | theborakompanioni <theborakompanioni+github@gmail.com> | 2024-05-27 10:25:14 +0200 |
commit | a6f1cf3e0d391fdc7c6d8eb1291868d35e293c09 (patch) | |
tree | a49949939fd0e791d9febae1114a327f98b172d1 /bip-0046.mediawiki | |
parent | 722a388ae3e400db6e1928bcd90d8c9ece324c31 (diff) |
chore(bip-0046): improve timelock point in time explanation
Diffstat (limited to 'bip-0046.mediawiki')
-rw-r--r-- | bip-0046.mediawiki | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bip-0046.mediawiki b/bip-0046.mediawiki index f1fe01d..fa4dd5c 100644 --- a/bip-0046.mediawiki +++ b/bip-0046.mediawiki @@ -77,7 +77,7 @@ For <tt>index</tt>, addresses are numbered from 0 in a sequentially increasing m === Timelock derivation === -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. +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. <pre> year = 2020 + index // 12 |