T3060
Add new database function to lookup a valid alias registration by address. This function will be implemented in a later diff to create an API endpoint used to check if a given alias is available to be registered.
Differential D14097
[alias-server] Add function to query database by alias bytesofman on Jun 21 2023, 18:32. Authored by
Details
T3060 Add new database function to lookup a valid alias registration by address. This function will be implemented in a later diff to create an API endpoint used to check if a given alias is available to be registered. npm test
Diff Detail
Event TimelineComment Actions What is the plan for DoS prevention when this becomes publicly accessible ? It does a DB lookup for every alias passed.
Comment Actions In the interest of launching as soon as practical, will probably limit calls to whitelisted domains, i.e. Cashtab.com, or any wallet that requests access. This implementation is quite simple. Will need to implement rate limiting to support calls from arbitrary IP addresses and handle DoS. This might also be quite straightforward but will need to scope it out.
|