phase1: add websocket edge and nostr message codec

This commit is contained in:
2026-03-13 19:00:41 +01:00
parent 5e478cd305
commit 953ccb60f4
11 changed files with 360 additions and 4 deletions

View File

@@ -11,8 +11,8 @@ Implementation checklist for Parrhesia relay.
## Phase 1 — protocol core (NIP-01)
- [ ] Implement websocket endpoint + per-connection process
- [ ] Implement message decode/encode for `EVENT`, `REQ`, `CLOSE`
- [x] Implement websocket endpoint + per-connection process
- [x] Implement message decode/encode for `EVENT`, `REQ`, `CLOSE`
- [ ] Implement strict event validation (`id`, `sig`, shape, timestamps)
- [ ] Implement filter evaluation engine (AND/OR semantics)
- [ ] Implement subscription lifecycle + `EOSE` behavior