Skip to content

Commit fd17982

Browse files
authored
Document the extended max expiry for AENS names (#517)
* Ignore vim swap files * Document the extended max expiry for AENS names * Explicitly mention 5% bid increase
1 parent 7172e2c commit fd17982

File tree

2 files changed

+22
-19
lines changed

2 files changed

+22
-19
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
__pycache__
22
.docssite/docs/*/*
3-
.docssite/docs/*.md
3+
.docssite/docs/*.md
4+
5+
.*.sw?

AENS.md

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ or `привет.test` are part of the same `.test` namespace.
4242

4343
## Governance
4444

45-
Lima hard fork is introducing final `.chain` registration namespace.
46-
It also retires `.test` namespace.
47-
We will also not include mechanisms similar to the `sunrise` and `landrush`
48-
periods, which are common for DNS, where registration is restricted to small
49-
select groups and trademark holders in order to avoid name squatting, before
50-
the general public can start claiming names.
45+
Lima protocol upgrade is introducing final `.chain` registration namespace. It
46+
also retires `.test` namespace. We will also not include mechanisms similar to
47+
the `sunrise` and `landrush` periods, which are common for DNS, where
48+
registration is restricted to small select groups and trademark holders in
49+
order to avoid name squatting, before the general public can start claiming
50+
names.
5151

5252

5353
## Mechanisms
@@ -92,9 +92,9 @@ Furthermore, the initial fee for name is a value of the function of
9292
the name's length. It is decreasing function: for shorter names have higher initial
9393
fee.
9494

95-
Also bidding by claim transaction is constrained by price progression.
96-
Each next bid has to be higher by `X` coins, determined by percent of the price
97-
defined in governance.
95+
Also bidding by claim transaction is constrained by price progression. Each new
96+
bid has to be higher than the previous bid by a certain margin, determined by
97+
a percentage of the price (currently 5%) defined in governance.
9898

9999
All, functions, base fee, free length value and price progression may be subject
100100
to changes with governance mechanism. Non-bidding path of the name claim is purposed
@@ -140,9 +140,9 @@ This is the entry as it should be stored by a node.
140140

141141
***owner***: the account, which controls this entry.
142142

143-
***expires_by***: the blockheight after which the entry goes
144-
into the `revoked` state. This value MUST NOT be further than
145-
50000 blocks into the future.
143+
***expires_by***: the blockheight after which the entry goes into the `revoked`
144+
state. This value MUST NOT be further than 180000 blocks (Note: used to be
145+
50000 before Iris protocol upgrade) into the future.
146146

147147
***client_ttl***: a suggestion as to how long any clients should
148148
cache this information. (***TODO***: should have a reasonable
@@ -238,7 +238,7 @@ in order to support auctions.
238238

239239
Names are generally only referred to in hashed form.
240240

241-
#### Until Lima hardfork
241+
#### Until Lima protocol upgrade
242242
We are going to adopt the `NameHash` as defined by the ENS in
243243
[EIP-137](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-137.md#namehash-algorithm)
244244
using Blake2b (256 bits digest) instead.
@@ -252,7 +252,7 @@ def namehash(name):
252252
return Blake2b(namehash(remainder) + Blake2b(label))
253253
```
254254

255-
#### From Lima hardfork
255+
#### From Lima protocol upgrade
256256

257257
From Lima we don't use `NameHash` anymore. Instead, it is a 32 byte Blake2b hash
258258
of the IDNA encoded UTF-8 name.
@@ -286,7 +286,8 @@ of the protocol.
286286

287287
### Protocol fees and protection times
288288

289-
Here is the function of initial bidding price depending on name length for Lima hardfork.
289+
Here is the function of initial bidding price depending on name length for Lima
290+
protocol upgrade.
290291

291292
```
292293
------------- -------------
@@ -463,8 +464,8 @@ See also [mechanisms section](#mechanisms).
463464
The `update` transaction MUST be signed by the owner
464465
of the name entry to be updated.
465466

466-
The `expire_by` MUST NOT be more than 50000 blocks into
467-
the future.
467+
The `expire_by` MUST NOT be more than 180000 blocks (Note: used to be 50000
468+
before Iris protocol upgrade) into the future.
468469

469470
`update` transaction may be used to extend the lease of the name.
470471
We do not require an additional fee for extending the lease.
@@ -473,7 +474,7 @@ The `pointers` field SHOULD NOT contain multiple entries with the same key.
473474
The `pointers` can point to one of: account address, oracle id, channel id or
474475
contract id, and from Ceres 1024 bytes of uninterpreted data (a bytearray).
475476

476-
From Iris hardfork, the following limitations on pointers apply:
477+
From Iris protocol upgrade, the following limitations on pointers apply:
477478
- No duplicate keys (a key can only be present once in a list of pointers).
478479
- Keys are not longer than 256 bytes
479480
- The list of pointers is not longer than 32.

0 commit comments

Comments
 (0)