Ken Sedgwick
|
f00a67ab2c
|
Update user relay-list via polling
|
2024-12-02 13:14:50 -08:00 |
|
William Casarin
|
0171e6c970
|
clippy: fix clippy warnings
Signed-off-by: William Casarin <jb55@jb55.com>
|
2024-11-28 12:01:47 -08:00 |
|
William Casarin
|
01bedac710
|
Fix filter states when adding columns
This fixes various issues with filter states when adding columns. We now
maintain multiple states per relay so that we don't lose track of
anything.
Fixes: https://github.com/damus-io/notedeck/issues/431
Fixes: https://github.com/damus-io/notedeck/issues/359
Signed-off-by: William Casarin <jb55@jb55.com>
|
2024-11-14 15:25:08 -08:00 |
|
William Casarin
|
acadc4a9d9
|
enostr: add PoolEventBuf
to simplify lifetimes in some situations
Signed-off-by: William Casarin <jb55@jb55.com>
|
2024-11-14 11:43:35 -08:00 |
|
Ken Sedgwick
|
570d64c3cd
|
canonicalize relay urls to avoid false duplicates
|
2024-10-29 13:42:29 -07:00 |
|
Ken Sedgwick
|
e166dc17ef
|
Skip adding relays that are already in the pool
|
2024-10-29 13:42:28 -07:00 |
|
Ken Sedgwick
|
26cb1a2c07
|
Fix parsing of subscription id for RelayMessage::Event
|
2024-10-29 13:42:28 -07:00 |
|
William Casarin
|
1f149aec3b
|
fix clippy warnings
Signed-off-by: William Casarin <jb55@jb55.com>
|
2024-08-19 21:26:20 -07:00 |
|
William Casarin
|
973a7c780f
|
thread: remote subscriptions working
Signed-off-by: William Casarin <jb55@jb55.com>
|
2024-08-19 21:22:58 -07:00 |
|
William Casarin
|
9328ef2dff
|
remove duplicate filter types
only use nostrdb::Filter
Signed-off-by: William Casarin <jb55@jb55.com>
|
2024-08-19 21:12:32 -07:00 |
|
William Casarin
|
d43c46aaf4
|
nostr: fix parsing of OK events
Signed-off-by: William Casarin <jb55@jb55.com>
|
2024-07-31 13:51:24 -07:00 |
|
William Casarin
|
a36ce31fc7
|
pool: increase default reconnect time to 5 seconds
Signed-off-by: William Casarin <jb55@jb55.com>
|
2024-07-10 16:00:38 -07:00 |
|
William Casarin
|
135a5c99ae
|
Revert "deps: using tracing instead of log"
This reverts commit af92e326f6.
|
2024-05-23 16:10:07 -07:00 |
|
William Casarin
|
af92e326f6
|
deps: using tracing instead of log
also update some other deps
Signed-off-by: William Casarin <jb55@jb55.com>
|
2024-05-23 11:16:43 -07:00 |
|
William Casarin
|
f4d496012b
|
log relay subscriptions
Signed-off-by: William Casarin <jb55@jb55.com>
|
2024-04-29 14:06:20 -07:00 |
|
William Casarin
|
6222a7db63
|
Fix all warnings
Signed-off-by: William Casarin <jb55@jb55.com>
|
2024-04-01 10:19:47 -07:00 |
|
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 |
|