report_relay_failure
Report that a relay in the DPYC set was unreachable, and re-rank it.
A report does not set a relay's rank. It asks the Oracle to measure that relay now, and the Oracle's own probe decides. A false or mistaken report therefore costs one probe and changes nothing — no caller can demote a healthy relay by asserting that it is down.
Report only failures. Successes are far too frequent to be worth carrying, and a relay that works needs no announcement.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | What was being attempted — ``"send"``, ``"read"``, or ``"unknown"``. Recorded for the human reading the logs. | unknown |
| relay | Yes | The relay that failed. Must already be in the DPYC set — this tool re-measures the curated set, it is not a probe-anything primitive that can be aimed at arbitrary hosts. | |
| signed_event | Yes | A Nostr event signed by ``reporter_npub`` whose content contains the relay URL, created within the last few minutes. Stateless by design: no challenge is issued first, because a challenge store would not survive this service's recycles — and a relay report is most needed exactly when relays are broken. | |
| reporter_npub | Yes | The reporting operator's npub. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||