Commit graph

12 commits

Author SHA1 Message Date
7aa0ce14db feat: reply OK to client-published events
nostrclient never answered a client's EVENT with the NIP-01
`["OK", <id>, <accepted>, <message>]` command result. Clients built on
nostr-tools and similar libraries wait for that reply before treating a
publish as successful, so NWC wallet apps paired through the public
endpoint reported "publish failed" even though the request had been
fanned out and answered.

Relay OKs now flow through the message pool like events and notices.
The router tracks each EVENT a client publishes and replies exactly
once: `true` as soon as any relay accepts, `false` once every relay
connected at publish time has rejected it, after a 10 s timeout, or
immediately when no relay is connected. OKs nobody is waiting on are
dropped at the pump so the shared result map cannot grow unbounded.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013Tbyw6FwjhEJg3gHfPHxWt
2026-09-12 13:31:00 +02:00
Vlad Stan
d0f1089f08
chore: set version to 1.1.0 (#50)
Some checks failed
/ release (push) Has been cancelled
/ pullrequest (push) Has been cancelled
2025-11-13 13:57:15 +02:00
Ben Weeks
571b034004
Improve README with simplified mermaid diagram and structured sections (#45)
* Improve README with mermaid diagram and structured sections

Replace static architecture diagram with maintainable mermaid flowchart showing the multiplexer architecture. Add structured sections for Overview, Features, Configuration, Testing, and Troubleshooting to better explain the extension's purpose and usage.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Simplify mermaid diagram for better readability

Replace complex nested subgraphs with a simple, clear flowchart that matches the clarity of the original static diagram. Add note about subscription ID rewriting feature.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-11-04 11:18:12 +01:00
Vlad Stan
6f5e9e3458 chore: doc formatting 2023-09-15 10:21:38 +03:00
Vlad Stan
ebe16b8993
doc: add Troubleshoot 2023-05-08 11:57:56 +03:00
Tiago Vasconcelos
2814d277e5
Update README.md 2023-04-24 10:38:11 +01:00
Vlad Stan
1e4ea75b00 fix: exclude /nostr from code format 2023-03-23 10:58:52 +02:00
Vlad Stan
f369e2fdac Revert "chore: code format"
This reverts commit 619e0f05e2.
2023-03-23 10:57:29 +02:00
Vlad Stan
619e0f05e2 chore: code format 2023-03-23 10:35:45 +02:00
calle
dc8bab562e
Update README.md 2023-03-15 11:04:56 +01:00
callebtc
8a6adb4768 refactor nostrrouter and rewrite subscription ids 2023-03-09 13:26:07 +01:00
callebtc
69bf22c9ec init 2023-02-10 14:55:30 +01:00