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
If the feature or idea is implemented or resolved to your satisfaction, please consider making a small monetary donation to support the continued development and independence of this project.
Sorry I'm poor I am Brazilian xD
Is your feature request related to a problem? Please describe. NIP-45 Event Count would be great to reduce relay/client bandwidth usage when counting reactions and replies (instead of, for each thread, client having to request and download many events just to count them client-side).
Describe the solution you'd like
This relay implementation uses Postgresql, which can use the same indexes already in place when counting events.
src/handlers/count-message-handler.ts answers COUNT, returning createCountResultMessage through the same filter path REQ uses, with isCountAuthorized for the AUTH case.
It is wired in src/factories/message-handler-factory.ts, and covered by test/unit/handlers/count-message-handler.spec.ts.
docs/rewrite/nip-parity.md:132 records NIP-45 as implemented and must-have.
So the bandwidth argument in this request is served by the shipped relay; no contributor work is needed here.
@a-khushal this shipped since you asked, so it is closed as implemented rather than assigned — the closing comment names the handler, its spec and the parity row. Sorry for the seven-month wait on an answer.
Activity
a-khushal commentedon Apr 17, 2026
@cameri if this issue is up for grabs, can i work on it?
chappie-daemon commentedon Nov 29, 2026
Closing: NIP-45 is implemented.
src/handlers/count-message-handler.tsanswersCOUNT, returningcreateCountResultMessagethrough the same filter pathREQuses, withisCountAuthorizedfor the AUTH case.src/factories/message-handler-factory.ts, and covered bytest/unit/handlers/count-message-handler.spec.ts.docs/rewrite/nip-parity.md:132records NIP-45 asimplementedandmust-have.So the bandwidth argument in this request is served by the shipped relay; no contributor work is needed here.
chappie-daemon commentedon Nov 29, 2026
@a-khushal this shipped since you asked, so it is closed as implemented rather than assigned — the closing comment names the handler, its spec and the parity row. Sorry for the seven-month wait on an answer.