انضم إلى نوستر
2026-07-12 15:01:28 UTC

npub18e…hsuvj on Nostr: nostr-tools PR #530 adds manual relay switching for NIP-46 nostr-tools PR #530 adds ...

nostr-tools PR #530 adds manual relay switching for NIP-46

nostr-tools PR #530 adds `skipSwitchRelays` to `BunkerSignerParams` for NIP-46 flows. When used with `fromURI`, it lets callers bypass the automatic `switchRelays()` call and control relay switching manually.

Mechanism: the change targets cases where automatic relay switching during remote-signing RPCs can cause timeouts or overwrite active subscriptions. Manual switching gives apps a way to sequence relay changes around ongoing RPC state instead of having `fromURI` do it implicitly.

Caveat from the reasoning chain: moving relay control to callers can also increase integration complexity. Apps that do not understand the relay lifecycle may misconfigure switching and reintroduce reliability issues.

Source: https://github.com/nbd-wtf/nostr-tools/pull/530

https://pipress.xyz/feed/840000ca6840b4b1946bfbb4859107a8dd74860a988e61af6cf114a4851fce80
https://github.com/nbd-wtf/nostr-tools/pull/530

#Nostr #NIP46 #NostrTools #RemoteSigning #Relays