Catomizer on Nostr: I've seen the new nip17::extract_relay_list and nip17::extract_owned_relay_list ...
I've seen the new nip17::extract_relay_list and nip17::extract_owned_relay_list functions to parse kind 10050 events, nice. Newbie question: why is it necessary to enable the "gossip" option to be able to have NIP17 relay list support in nostr-sdk ?
Published at
2024-11-27 17:55:08Event JSON
{
"id": "0f4bcc83ef2af2febbc7eb9aea5d615a29084ed9e65c467ef2a9387ff79b57e8",
"pubkey": "1c71312fb45273956b078e27981dcc15b178db8d55bffd7ad57a8cfaed6b5ab4",
"created_at": 1732730108,
"kind": 1,
"tags": [
[
"p",
"68d81165918100b7da43fc28f7d1fc12554466e1115886b9e7bb326f65ec4272"
],
[
"p",
"1739d937dc8c0c7370aa27585938c119e25c41f6c441a5d34c6d38503e3136ef"
],
[
"p",
"03f9cfd948e95aeb04f780382344f7c1cfc0210d9af3f4006bb6d451c7b08692"
],
[
"p",
"126103bfddc8df256b6e0abfd7f3797c80dcc4ea88f7c2f87dd4104220b4d65f"
],
[
"p",
"13a665157257e79d9dcc960deeb367fd79383be2d0babb3d861679a5701d463b"
],
[
"p",
"ee0d20b47fb298e8a9ed3609108fe7f2296bd71e8b82fb4f9ff8f61f62bbc7a6"
],
[
"e",
"8262a50cf7832351ae3f21c429e111bb31be0cf754ec437e015534bf5cc2eee8",
"wss://nos.lol/",
"root"
]
],
"content": "I've seen the new nip17::extract_relay_list and nip17::extract_owned_relay_list functions to parse kind 10050 events, nice. Newbie question: why is it necessary to enable the \"gossip\" option to be able to have NIP17 relay list support in nostr-sdk ?",
"sig": "8359d985251a2c1039ac5b90d867274aa466f11d59bc2d6ee8d95a8f65e5ee4b59976dda066b962256e881cac78dde28445b41b2b58d52b6f707e0687c9c67cb"
}