به Nostr بپیوندید
2026-07-19 22:05:08 UTC

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/516

https://pipress.xyz/feed/a6c7fdf436ad5daefbcc2911d1b67bbbd7335229ea148a376891f7b22ecbed67
https://github.com/nbd-wtf/nostr-tools/pull/516

#Nostr #NIP77 #Negentropy #Relays #ReactNative