Firehose
- Change
loopback.tsmodule tofirehose.ts. - Adds a
relaystable. The firehose uses all relays. - Autodiscover new relays from events through the firehose.
- Add a script to populate relays from an API (
deno task relays:sync https://api.nostr.watch/v1/online).
TODO:
-
Limit the number of relays per host (add an indexed hostcolumn). -
Add an activecolumn to relays and only pull active ones.
Maybe?
-
Refactor poolinto a separate module, shared between the firehose and client.
Edited by Alex Gleason