Replying to Avatar cloud fodder

nostr:nprofile1qqsrhuxx8l9ex335q7he0f09aej04zpazpl0ne2cgukyawd24mayt8gprfmhxue69uhkcmmrdd3x77pwve5kzar2v9nzucm0d5hsh2c3z4 would know.. he was pushing for its removal from strfry.. i assume its harder to code.

the only thing I can think of is that there is an ambiguity, where for example 66675 could be the start of a pubkey, the end of a pubkey or the middle. to me the idea of partial searches is a good one regardless.

implementation wise, it does add some complication depending on the database engine the relay you're writing uses, but not that much.

Reply to this note

Please Login to reply.

Discussion

I think it would be reasonable to limit these queries to prefix only. No searching the middle of a string for a partial hex value.