Commit Graph
13 Commits
Author SHA1 Message Date
William Casarin 4ea82cd332 debug: fix annoying decode error message
Signed-off-by: William Casarin <jb55@jb55.com>
2024-02-16 11:39:22 -08:00
William Casarin 7dcfde7109 enable passing queries via argument
Signed-off-by: William Casarin <jb55@jb55.com>
2024-02-12 01:06:59 -08:00
William Casarin 3e96f815b1 apply cargo warning suggested fixes
Signed-off-by: William Casarin <jb55@jb55.com>
2024-02-10 16:19:31 -08:00
William Casarin 74ce87049d local nostrdb subscriptions working
Signed-off-by: William Casarin <jb55@jb55.com>
2024-02-07 15:18:23 -08:00
William Casarin 9a9bb13e08 enostr: use data instead of strings in Pubkey and EventId
Signed-off-by: William Casarin <jb55@jb55.com>
2024-02-07 12:02:13 -08:00
William Casarin f46797ea10 net: geometric backoff connection retries on disconnects 2023-12-24 14:24:22 -08:00
William Casarin 09cd8ff379 pool: implement keepalive pinging
To prevent us from disconnecting, introduce keepalive pinging. In the
event loop we check if any relays need a refresh ping.
2023-12-24 12:34:17 -08:00
William Casarin dd7093288b relay: add ping method
we will use this to ping relays
2023-12-24 12:34:17 -08:00
William Casarin 80c06e4ec4 pool: fix some warnings when targeting wasm 2023-07-06 19:35:45 -07:00
William Casarin 48af3dde9d many improvements 2022-12-12 14:33:37 -08:00
William Casarin 98adb82e56 receiving initial messages! 2022-12-11 18:34:43 -08:00
William Casarin 5619ae60ad relay connected! 2022-12-11 17:09:44 -08:00
William Casarin e6571d8847 initial nostr code 2022-12-11 15:46:18 -08:00