Commit Graph

24 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
9feb6465c0 enostr: remove nostr crate for now
Signed-off-by: William Casarin <jb55@jb55.com>
2024-02-10 16:14:45 -08:00
William Casarin
f323fe7379 LOCAL RELAY MODEL IS WORKING
Signed-off-by: William Casarin <jb55@jb55.com>
2024-02-09 16:59:49 -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
6c2c352e6f enostr: update deps
Signed-off-by: William Casarin <jb55@jb55.com>
2024-02-07 12:01:58 -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
2526f8001c make sure it's still working on android 2023-07-09 12:17:54 -07:00
William Casarin
ad8bc9e6c3 enostr: add initial note code 2023-07-06 19:38:49 -07:00
William Casarin
684bc5f913 eventid: asref implementation 2023-07-06 19:36:12 -07:00
William Casarin
80c06e4ec4 pool: fix some warnings when targeting wasm 2023-07-06 19:35:45 -07:00
William Casarin
ba973cbe1b bump deps in prep for profiling changes 2023-07-06 19:35:21 -07:00
William Casarin
672f95749a Revert "json: deserialize note ids into bytes"
This reverts commit 1ba597fc0a.
2023-07-06 17:50:20 -07:00
William Casarin
1ba597fc0a json: deserialize note ids into bytes 2023-07-06 17:09:39 -07:00
William Casarin
44fd75167e add From<&str> for Pubkey 2023-06-28 21:30:02 +02:00
William Casarin
48af3dde9d many improvements 2022-12-12 14:33:37 -08:00
William Casarin
e629402d11 initial real data rendering working 2022-12-11 18:56:41 -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