Commit Graph

140 Commits

Author SHA1 Message Date
Jon Staab a6c916c0e1 Fix relay error stats and router relay quality 2025-04-07 17:28:00 -07:00
Jon Staab 7cb8033334 Speed up loading 2025-04-07 16:13:13 -07:00
Jon Staab 7fe58f4bdf Handle non-unique relay urls passed to publish/request 2025-04-07 14:42:35 -07:00
Jon Staab 357bcd4366 Improve auth buffering policy 2025-04-02 14:38:02 -07:00
Jon Staab 7440a07ffc Put auth inside socket 2025-04-02 14:01:37 -07:00
Jon Staab c434955c2d More file renaming 2025-04-02 09:05:42 -07:00
Jon Staab 01f3029492 Rename files again to fix case insensitive file rename 2025-04-02 09:05:22 -07:00
Jon Staab 13f2a31af7 Rename files to fix case insensitive file rename 2025-04-02 09:03:38 -07:00
Jon Staab 35f75bb38e Get rid of typed emitter 2025-04-02 08:54:50 -07:00
Jon Staab 1cbcb0ae4a Bump versions, move getAdapter to context 2025-04-01 14:24:32 -07:00
Jon Staab 05a9d6461b Accept multiple filters to request 2025-04-01 13:15:50 -07:00
Jon Staab fd0cdf2c19 Bring back some net context 2025-04-01 11:12:34 -07:00
Jon Staab 2dadcce48f Add check for deleted events in request 2025-04-01 10:56:17 -07:00
Jon Staab 5ad6347123 Clean up nostr-tools dependencies 2025-04-01 10:50:43 -07:00
Jon Staab db588495e3 Batch load requests 2025-03-31 15:52:43 -07:00
Jon Staab 8bc336ae5d Fix some tests 2025-03-31 14:06:52 -07:00
Jon Staab 1524d128e3 Fix ts errors 2025-03-31 12:49:28 -07:00
Jon Staab cfd2e3aac7 Add relay package 2025-03-31 10:17:31 -07:00
Jon Staab 5b55b5f5d0 Rename request/publish functions 2025-03-31 09:44:36 -07:00
Jon Staab 4237b145ae Use default pool, make adapter context optional 2025-03-31 09:35:48 -07:00
Jon Staab 7389b3a6c3 Move net2 to net, update dvm 2025-03-31 09:13:10 -07:00
Ticruz 23f7244039 more tests 2025-02-28 15:06:05 -08:00
Ticruz 8a2b62f693 Add tests 2025-02-25 14:34:49 -08:00
Jon Staab 9638ae471e Fix memory leak 2025-02-17 08:34:56 -08:00
Jon Staab 59fe465fe2 Raise concurrent request limit 2025-02-13 14:34:13 -08:00
Jon Staab f2a2b6f177 Improve spec, clean up connection sender a bit 2025-01-24 12:48:34 -08:00
Jon Staab 6b9e5ae77f Move subscription to a class 2025-01-24 10:05:04 -08:00
Jon Staab 29a0726165 Improve relay scoring 2025-01-15 09:54:19 -08:00
Jon Staab 462a2afe45 Use template strings instead of join for speed 2025-01-02 10:41:26 -08:00
Jon Staab c1e9d99ad9 Add parameter to optimize repository.query, auto-connect when sending, optimize storage adapters 2025-01-02 09:27:35 -08:00
Jon Staab f33e03740e Remove tsc-multi, re-install gts, apply autoformatting and linting 2024-12-17 12:55:37 -08:00
Jon Staab d8005b7c10 Improve connection management, re-send stuff after a connection gets closed 2024-12-16 16:09:58 -08:00
Jon Staab 887fbfc25d Avoid re-opening connections after they're closed 2024-12-16 15:20:10 -08:00
Jon Staab 8825ed4d57 Fix tags on deletes other than a/e 2024-12-16 13:30:17 -08:00
Jon Staab 6f75ef4ab9 Fix sync, rename kinds 2024-12-11 08:31:03 -08:00
Jon Staab 03c5103ee9 Don't report ok to global onEvent when ok is false 2024-12-10 08:44:20 -08:00
Jon Staab 9ab8b70bb9 Add a few thunk utils 2024-12-10 08:21:14 -08:00
Jon Staab 134692e5a1 Small tweaks to subscriptions 2024-12-02 16:18:38 -08:00
Jon Staab 2fbcfc59a1 Remove nostr-wasm, add event validation sampling 2024-11-21 16:04:08 -08:00
Jon Staab 75e0d0603b Fix connection error, bump versions 2024-11-18 17:26:13 -08:00
Jon Staab 2de2d24e0b Fix quote, retry errored sockets 2024-11-18 17:11:24 -08:00
Jon Staab 78bc9df7a6 Fix a type error 2024-11-13 10:30:05 -08:00
Jon Staab 76ad0ba976 Fix marking events as seen in subscriptions when not matched 2024-11-11 11:45:44 -08:00
Jon Staab 65719412a4 Emit send, even when it doesn't happen 2024-11-08 16:22:00 -08:00
Jon Staab 2878aeec64 Optimize feeds a bit more, push local relay url up a layer to avoid opting in when we don't want it 2024-11-08 15:29:11 -08:00
Jon Staab 07b439eef2 Warn when trying to connect to bad urls 2024-11-08 14:35:26 -08:00
Jon Staab f55660eb06 Fix rebase 2024-11-05 16:17:35 -08:00
Jon Staab 0ec2b6ec73 Re-work waiting for auth 2024-11-05 16:10:04 -08:00
Jon Staab ecb08cace9 Re-work connections and relay stats 2024-11-05 16:09:55 -08:00
Jon Staab 51f9ae2e29 Fix eose count on subscriptions against targets with fewer connections than relays 2024-10-31 15:18:06 -07:00