@npub180cv...h6w6 would know.. he was pushing for its removal from strfry.. i assume its harder to code.
Login to reply
Replies (4)
Please, @npub180cv...h6w6, come tell us why we're out of our minds!
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.
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.
he obliged :)