Closed larrysalibra closed 3 months ago
The issue here is that when name-claim-fast is executed there is no way of knowing if a preorder was ever made for that name.
But if you look closely into the name-register function this "problem" is resolved giving the name to the correct owner, in this case the user that preordered the name first
Ahh that makes sense.
I see where that happens in the handle-existing-name function.
Is it right to say that someone can’t be sure that they’ve actually successfully registered a name until the preorder TTL period of time has passed? It could be reassigned to someone who preordered earlier?
Exactly. Scenarios:
Closing this issue since everything has been clarified
It looks like that if user A preorders a name using
name-preorder
, the preorder confirms and then in the next block, user B usesname-claim-fast
to register the same name, that user B will get the name.I would expect that
name-claim-fast
will only succeed if there are no valid preorders within thePREORDER-CLAIMABILITY-TTL
time to live window.Please correct me if I'm wrong on this!