Alexander Whitestone
|
03e651c727
|
feat: relay account whitelist — access-tier API + NIP-11 self-description
CI / Typecheck & Lint (pull_request) Failing after 0s
- Add `elite` access level to relay_accounts schema (none/read/write/elite)
- Add `trust_tier` column to relay_accounts for synced tier tracking
- Create migration 0007: relay_accounts + relay_event_queue tables
- Add POST /api/admin/relay/accounts (body: pubkey, level, notes)
- Add DELETE /api/admin/relay/accounts/:pubkey
- Update relay policy to handle `elite` access level (direct inject, skip moderation)
- Map elite trust tier → elite access level in syncFromTrustTier
- Add NIP-11 GET / with Accept: application/nostr+json (relay info endpoint)
Fixes #37
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-03-23 16:46:01 -04:00 |
|