feat: add relay event count stats to AllRelay settings screen
Use NostrClient's NIP-45 COUNT queries to show how many events each relay stores, with filters specific to each relay role: - Outbox: events authored by the user - Inbox: events where the user is p-tagged - DM Inbox: DM events (kind 4, 1059) tagging the user - Private Home: events authored by the user - Proxy: total event count - Search: total event count - Indexer: kind 0 and kind 10002 counts separately - Broadcast: no count (as specified) https://claude.ai/code/session_016158D5mq5BygS1uBbLNbsA
This commit is contained in:
@@ -776,6 +776,7 @@
|
||||
<string name="write_to_relay">Write to Relay</string>
|
||||
<string name="write_to_relay_description">The amount in bytes that was sent to this relay, including filters and events</string>
|
||||
<string name="read_from_relay_description">The amount in bytes that was received from this relay, including filters and events</string>
|
||||
<string name="relay_event_count">Events stored</string>
|
||||
<string name="an_error_occurred_trying_to_get_relay_information">An error occurred trying to get relay information from %1$s</string>
|
||||
<string name="owner">Owner</string>
|
||||
<string name="used_by">Used By</string>
|
||||
|
||||
Reference in New Issue
Block a user