Commit Graph

16 Commits

Author SHA1 Message Date
fiatjaf 1df85217d9 merge connection into relay, do all the closing logic on context cancelation and have closeMutex be a channelmutex. 2026-02-28 14:19:57 -03:00
fiatjaf 15c6093c9b define a nostr.Kind type for event kinds, make adjustments everywhere and fix some horrible bugs with mmm, lmdb and badger querying and deleting. 2025-04-20 11:15:41 -03:00
fiatjaf 32efaa7c58 tests on root and khatru working. 2025-04-17 20:30:44 -03:00
fiatjaf b4268d649c a bunch of [32]byte conversions. still more needed. 2025-04-14 17:47:53 -03:00
K c91e7b9765 using testify instead of testing.T methods. (#143) 2024-09-09 07:20:56 -03:00
fiatjaf 3afa6fc5f6 update reflect/unsafe.String thing. 2024-01-01 10:15:06 -03:00
fiatjaf a65bd94a00 minor. 2023-12-02 14:38:18 -03:00
fiatjaf 7449f254db support handling CLOSED messages from relay client. 2023-11-28 18:54:24 -03:00
fiatjaf 374dbbe1a0 sdk: fetch and cache profiles. 2023-10-31 11:00:46 -03:00
Isaque Veras 0f66883dc7 feat(kind): using constants 2023-09-07 07:05:01 -03:00
fiatjaf abb66db97e fix filter tests. 2023-08-06 20:03:05 -03:00
fiatjaf 3b44ab9381 refactor these tests to ensure nested subscriptions are not blocking each other. 2023-06-25 00:17:57 -03:00
fiatjaf a7964ae675 nested subscription test. 2023-06-24 21:02:12 -03:00
fiatjaf 9dc674bc02 use different contexts for the relay connection lifetime and the Connect() call.
fixes https://github.com/nbd-wtf/go-nostr/pull/86
2023-05-09 17:08:08 -03:00
fiatjaf 4507477486 slight improvements to debug logging. 2023-04-11 07:10:05 -03:00
fiatjaf f918809e21 add subscription test using the damus relay. 2023-04-07 12:52:10 -03:00