Open buhtignew opened 22 hours ago
The easiest way, IMO, would be to abort the initialization process regardless whether the conflicting deck was spawn before or after the other one (i.e. in all the 4 aforementioned cases) and to make the user assign the local label manually.
Taking into account the reason why this "priority" was chosen, I categorically reject this change. This would give spammers the opportunity to cause confusion among users of even popular tokens in launching tokens with the same global name.
The current system ensures that the first token with a certain global name will have always a "priority treatment", and it encourages people to use unique global names for their tokens. This policy is "soft" already (because PeerAssets' global names are not unique due to its design) but weakening it further would create less incentives to use unique names and more confusion for the user.
For this reason, I think also your other proposal (adding a part of the deck ID) doesn't improve the process, because it would also damage the "priority" of the first token launched with a global name. If any, this should be an optional feature for power users who want to follow a high number of tokens.
This issue refers to our decision to remove the last remaining dialog we have in the code, as mentioned here:
I've tested the new set up and it seems like it works like this:
I think that by removing the dialog we can opt to attract the user's attention as much as possible to the fact that there are conflicting global names of the decks he is about to use. The easiest way, IMO, would be to abort the initialization process regardless whether the conflicting deck was spawn before or after the other one (i.e. in all the 4 aforementioned cases) and to make the user assign the local label manually.
Another idea could be to add to the global name the first 5 characters of the deck's id (provided they differs) thus assigning the local label automatically and after that issue a warning that there is more than one deck with the same global name.