You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] NIP-13 (Proof of Work) is implemented and documented but missing from supportedNips / NIP-11 supported_nips #679
The relay implements NIP-13 (Proof of Work) canAcceptEvent() in src/handlers/event-message-handler.ts enforces both limits.event.eventId.minLeadingZeroBits an limits.event.pubkey.minLeadingZeroBits - and the README explicitly lists it as supported:
- [x] NIP-13: Proof of Work
However, package.json does not include 13 in the supportedNips array:
This array is what gets advertised to clients via the NIP-11 relay information document (supported_nips in src/handlers/request-handlers/root-request-handler.ts) and printed on startup in src/app/app.ts. As a result, clients that inspect the relay document have no way to know PoW limits may be enforced, even though they are.
Activity