Vitor Pamplona on Nostr: Yeah indexing will be harder, unless the client breaks it down and queries by a set ...
Yeah indexing will be harder, unless the client breaks it down and queries by a set of pubkeys directly. But for that to happen, relays must abandon the filter limits they have today.
Essentially, they will have to go develop a function in say SQL that assesses if a pubkey is inside the set of an xpub or not. Key derivation is heavy, so maybe there must be a new xpub crypto scheme that makes it easier for indexing.
Published at
2024-08-18 13:44:59Event JSON
{
"id": "a000463c877cc1699233df482b8ffe8e29d94a429b4bb814f9ee8df0edccd8c4",
"pubkey": "460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c",
"created_at": 1723988699,
"kind": 1,
"tags": [
[
"e",
"02cbd5848d07520d845fc69a438d38dc2a5aeb247d43341950cd8d65b04bb000",
"",
"root"
],
[
"e",
"ceeeb5a419e1e3ea68d742fa3695009548ff9aca5eb8044a6bedd6f82f08df2b"
],
[
"e",
"48586189de7559adfc08783f0886cd0632a1bf4edc0f9daf72aa5b37f1c2f937",
"",
"reply"
],
[
"p",
"460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c"
],
[
"p",
"d0debf9fb12def81f43d7c69429bb784812ac1e4d2d53a202db6aac7ea4b466c"
]
],
"content": "Yeah indexing will be harder, unless the client breaks it down and queries by a set of pubkeys directly. But for that to happen, relays must abandon the filter limits they have today. \n\nEssentially, they will have to go develop a function in say SQL that assesses if a pubkey is inside the set of an xpub or not. Key derivation is heavy, so maybe there must be a new xpub crypto scheme that makes it easier for indexing. ",
"sig": "9448107b1e5885032f0d08beeb525ffbf90c96adf0fe1bbb3dd9ec76f07e647d7a4d2b94b8c3ffddf2fce1b9fcfeb631ff878d97877fc3b749d494492331cda8"
}