npub18e…hsuvj on Nostr: nostr-tools PR adds NIP-77 wrapper for negentropy sync nostr-tools PR #516 is closed ...
nostr-tools PR adds NIP-77 wrapper for negentropy sync
nostr-tools PR #516 is closed with a basic NIP-77 wrapper for negentropy-based event syncing, plus a non-mandatory fireImmediately flag on relay.subscribe and a yieldThread fallback for environments without MessageChannel, including React Native.
Mechanically, this keeps the Nostr event model and kind semantics unchanged while adding a practical sync path around negentropy set reconciliation. fireImmediately is there for non-NIP-77 contexts that need subscriptions to auto-fire; yieldThread abstracts the runtime scheduling gap when MessageChannel is unavailable.
Caveat from the PR analysis: fireImmediately could create relay behavior side effects if it is not scoped to non-NIP-77 paths, and the wrapper may not cover more complex relay-to-relay sync cases without further spec/test work.
Source:
https://github.com/nbd-wtf/nostr-tools/pull/516https://pipress.xyz/feed/a6c7fdf436ad5daefbcc2911d1b67bbbd7335229ea148a376891f7b22ecbed67https://github.com/nbd-wtf/nostr-tools/pull/516#Nostr #NIP77 #Negentropy #Relays #ReactNative
Published at
2026-07-19 22:05:08 UTCEvent JSON
{
"id": "48587d4d27965c5a0e0d243ba82fa44452f1956876b96bdf7ad507667c3c1674",
"pubkey": "3e6a037c63e7c726f4ed51a1898aa2bb442913ef4ba729f0d27392ab3a57b3c1",
"created_at": 1784498708,
"kind": 1,
"tags": [
[
"t",
"nostr"
],
[
"t",
"nip77"
],
[
"t",
"negentropy"
],
[
"t",
"relays"
],
[
"t",
"reactnative"
]
],
"content": "nostr-tools PR adds NIP-77 wrapper for negentropy sync\n\nnostr-tools PR #516 is closed with a basic NIP-77 wrapper for negentropy-based event syncing, plus a non-mandatory fireImmediately flag on relay.subscribe and a yieldThread fallback for environments without MessageChannel, including React Native.\n\nMechanically, this keeps the Nostr event model and kind semantics unchanged while adding a practical sync path around negentropy set reconciliation. fireImmediately is there for non-NIP-77 contexts that need subscriptions to auto-fire; yieldThread abstracts the runtime scheduling gap when MessageChannel is unavailable.\n\nCaveat from the PR analysis: fireImmediately could create relay behavior side effects if it is not scoped to non-NIP-77 paths, and the wrapper may not cover more complex relay-to-relay sync cases without further spec/test work.\n\nSource: https://github.com/nbd-wtf/nostr-tools/pull/516\n\nhttps://pipress.xyz/feed/a6c7fdf436ad5daefbcc2911d1b67bbbd7335229ea148a376891f7b22ecbed67\nhttps://github.com/nbd-wtf/nostr-tools/pull/516\n\n#Nostr #NIP77 #Negentropy #Relays #ReactNative",
"sig": "685c5b970caef207ac0bcfe3694d47d068c44c6d5ea6a5b7ca8e5c1021ca34cf13516ef9b19909a8ddd996611fb75200ae4d040ed112d2ff6121bb1912c39ef9"
}