It looks like nostr-sdk automatically runs negentropy sync w...

126103bfddc8df25...
npub1zfss807aer0j26mwp2la0ume0jqde3823rmu97ra6sgyyg956e0s6xw445
hex
dac8f74a711aa3c99c89d5db6337549f789283a341551816be69e0b7c3844363nevent
nevent1qqsd4j8hffc34g7fnjyatkmrxa2f77yjsw35z4gcz6lxnc9hcwzyxccprpmhxue69uhhyetvv9ujuem4d36kwatvw5hx6mm9qgspycgrhlwu3he9ddhq407h7duheqxucn4g3a7zlp7agyzzyz6dvhcl4xw7uKind-1 (TextNote)
↳ 回复 68d81165... (npub1drvpzev3syqt0kjrls50050uzf25gehpz9vgdw08hvex7e0vgfeq0eseet)
Yes, I've starter working on it a couple of days ago. The PR: https://github.com/rust-nostr/nostr/pull/1252 I'm working on making all the libraries r...
It looks like nostr-sdk automatically runs negentropy sync when relays are added. I think this causes a bottleneck in my app and creates significant delays. My app flow works like this:
- Users launch the app
- The app connects to bootstrap relays
- The app gets the user's relay list and verifies its existence
- If the relay list exists → Get profile → Get and verify messaging relays
The flow is simple and runs step by step, so I don't think the backend affects it much. If I disable gossip, it runs fine.
原始 JSON
{
"kind": 1,
"id": "dac8f74a711aa3c99c89d5db6337549f789283a341551816be69e0b7c3844363",
"pubkey": "126103bfddc8df256b6e0abfd7f3797c80dcc4ea88f7c2f87dd4104220b4d65f",
"created_at": 1770856823,
"tags": [
[
"e",
"02e72781dc914ad4b1bb53f6599fcce3d07e68ff7be789164221b769d8de2efc",
"wss://nostr.mom/",
"root",
"126103bfddc8df256b6e0abfd7f3797c80dcc4ea88f7c2f87dd4104220b4d65f"
],
[
"e",
"e247d9b150c458cd1b82ca56c12a2b5cd89f5001961aa06f1320d551167191cb",
"wss://nos.lol/",
"reply",
"68d81165918100b7da43fc28f7d1fc12554466e1115886b9e7bb326f65ec4272"
],
[
"p",
"68d81165918100b7da43fc28f7d1fc12554466e1115886b9e7bb326f65ec4272"
]
],
"content": "It looks like nostr-sdk automatically runs negentropy sync when relays are added. I think this causes a bottleneck in my app and creates significant delays. My app flow works like this:\n\n1. Users launch the app\n2. The app connects to bootstrap relays\n3. The app gets the user's relay list and verifies its existence\n4. If the relay list exists → Get profile → Get and verify messaging relays\n\nThe flow is simple and runs step by step, so I don't think the backend affects it much. If I disable gossip, it runs fine.",
"sig": "7d6611fbd8d167cb4e49feead16a63d496a52f9a76dfc9cc1cd440c526c139bb9b2c9293e71afa37e5d85de037f20fd89393c8b0d5d9d994e8674340b8195cb0"
}