cypherhoodlum🏴☠️ on Nostr: PABLOF7z JeffG does NDK check events returned from a relay against the subscription ...
PABLOF7z (nprofile…8qkt) JeffG (nprofile…r4lw) does NDK check events returned from a relay against the subscription filter? Or does it "trust" that the relay did in fact return events matching that filter?
Asking because we're implementing filters with wildcards on the hornet-storage relay and would like to fetch events with a filter like ["#d"]: ["/apps/git/repos/*/issues/*/title"] where the wildcard * can be any string.
Published at
2024-07-31 15:37:30Event JSON
{
"id": "aef86b2f80382bdbb766524a88721b8fa9e11f708c4217a52c262d2ba745b66e",
"pubkey": "e17273fbad387f52e0c8102dcfc8d8310e56afb8f4ac4e7653e58c8d5f8abf12",
"created_at": 1722440250,
"kind": 1,
"tags": [
[
"p",
"fa984bd7dbb282f07e16e7ae87b26a2a7b9b90b7246a44771f0cf5ae58018f52",
"",
"mention"
],
[
"p",
"1739d937dc8c0c7370aa27585938c119e25c41f6c441a5d34c6d38503e3136ef",
"",
"mention"
]
],
"content": "nostr:nprofile1qqs04xzt6ldm9qhs0ctw0t58kf4z57umjzmjg6jywu0seadwtqqc75spzpmhxue69uhnzdps9enrw73wd9hszynhwden5te0wp6hyurvv4cxzeewv4eszynhwden5te0wfjkccte9enrw73wd9hsxv8qkt nostr:nprofile1qqspwwwexlwgcrrnwz4zwkze8rq3ncjug8mvgsd96dxx6wzs8ccndmcpzemhxue69uhk2er9dchxummnw3ezumrpdejz7qtxwaehxw309anxjmr5v4ezumn0wd68ytnhd9hx2tmwwp6kyvt6w46kz6nyxa6nxumc8pu82wfj09shvwt2wau8qu3cxvukxuesdd3nxufkws6nvanyx46njufsxvehsmtgwd4nvcejw43n7cnjdaskgcmpwd6r6arjw4jszxrhwden5te0dehhxarj9enx6apwwa5h5tnzd9az77vr4lw does NDK check events returned from a relay against the subscription filter? Or does it \"trust\" that the relay did in fact return events matching that filter?\n\nAsking because we're implementing filters with wildcards on the hornet-storage relay and would like to fetch events with a filter like [\"#d\"]: [\"/apps/git/repos/*/issues/*/title\"] where the wildcard * can be any string.",
"sig": "13d0cc1a77a72e2d5d592b01a41528195179b6d64d956d2308e80cc770cb64858912b76961f41f56cebb0f62f0179f93ec1a99dc6d3fecf9e0300d1f32e6ffbe"
}