Commit graph

11 commits

Author SHA1 Message Date
Alex Gleason
45abaf14a4
pipeline: refactor, use pipeline from relay 2023-08-17 18:07:25 -05:00
Alex Gleason
299a1a0db0
Refactor some code that uses getFilters to import the whole module under a namespace 2023-08-17 15:41:27 -05:00
Alex Gleason
c15194020f
Delete event.ts, use nostr-tools types 2023-08-16 21:53:51 -05:00
Alex Gleason
4c8a685528
relay: allow local users to post to the relay 2023-08-12 15:24:33 -05:00
Alex Gleason
a35ea6ab5d
relay: restrict to local events unless the filter is already narrow 2023-08-12 15:14:43 -05:00
Alex Gleason
8e47c9dda2
relay: refactor into smaller functions 2023-08-12 15:07:07 -05:00
Alex Gleason
b2f538ed94
Relay: improve types, DRY 2023-08-12 14:41:07 -05:00
Alex Gleason
075da543b0
Make relay only return local events 2023-08-12 14:32:57 -05:00
Alex Gleason
3593d5420d
Relay: limit to 100 events per filter 2023-08-12 14:12:53 -05:00
Alex Gleason
808e8941b6
Relay: make REQ work (doesn't stream yet) 2023-08-12 13:40:21 -05:00
Alex Gleason
1f470ffe2d
Add nostr schema for parsing filters 2023-08-11 19:55:16 -05:00