fiatjaf
|
d4334ac2bb
|
revert "a function to send an event directly to a specific connection."
this reverts commit e9c9d0c3a7b6ace94cd40e04d74e4ffd31b6b898 because it is not a good idea and probably useless.
|
2024-10-16 15:07:55 -03:00 |
|
fiatjaf
|
e9c9d0c3a7
|
a function to send an event directly to a specific connection.
|
2024-10-13 12:42:36 -03:00 |
|
fiatjaf
|
5ae4d1194a
|
this fix was stupidly missing yesterday.
|
2024-08-14 08:29:28 -03:00 |
|
fiatjaf
|
3e6d763a79
|
fix wrong matching on listener remove when router is used.
pablo's crash, see https://t.me/nip29_temp/670
|
2024-08-13 13:21:41 -03:00 |
|
fiatjaf
|
4e0971bafe
|
fix removeListenerId() -- do not replace twice with the same last item when a client has repeated ids.
|
2024-08-04 17:43:25 -03:00 |
|
fiatjaf
|
07ea3a35ec
|
removeClientAndListeners() -- stop confusing listeners when removing from the same ws.
|
2024-08-04 17:25:19 -03:00 |
|
fiatjaf
|
ef57f54a28
|
fix listeners convoluted magic and add tests for it.
|
2024-08-01 18:16:08 -03:00 |
|
fiatjaf
|
5f0f9eec99
|
.PreventBroadcast slice of functions for controlling what events get broadcasted and to whom.
addresses https://t.me/nip29_temp/303
|
2024-07-31 10:34:53 -03:00 |
|
fiatjaf
|
a63dc829df
|
routing.
|
2024-07-30 12:53:27 -03:00 |
|
fiatjaf
|
f450c26d84
|
update go-nostr and xsync.
|
2024-01-10 16:27:50 -03:00 |
|
fiatjaf
|
ddfc9ab64a
|
fun with connection contexts and context cancelations.
|
2023-12-08 22:51:00 -03:00 |
|
fiatjaf
|
b6e7fabeb6
|
move storage plugins to eventstore module.
|
2023-10-31 16:38:32 -03:00 |
|
fiatjaf
|
bbe186494e
|
replace mutex-guarded maps with xsync/v2 maps.
|
2023-10-03 08:32:07 -03:00 |
|
fiatjaf
|
8968982b9a
|
relayer, second attempt, now much better.
|
2023-08-10 14:32:11 -03:00 |
|
fiatjaf
|
ebfff13b18
|
use envelopes everywhere.
|
2023-06-16 17:48:34 -03:00 |
|
Isaque Veras
|
0b7a1669b8
|
chore(listener): removing redundancy (#64)
|
2023-06-03 16:28:02 -03:00 |
|
0x0ff
|
8b3ff7ac26
|
fix: remove listeners when client disconnects
|
2022-12-29 13:59:19 -03:00 |
|
fiatjaf
|
d69479974c
|
expose AddEvent() method, allow implementations to deal with unknown websocket messages, remove opinionated validations from core lib, implement NIP-20 ("OK" message).
|
2022-11-11 09:48:11 -03:00 |
|
fiatjaf
|
f9d058a95a
|
adapt to updated go-nostr.
|
2022-02-13 08:40:06 -03:00 |
|
fiatjaf
|
ea7d2eeb3e
|
guard all websocket writes with mutexes.
|
2022-01-11 16:00:19 -03:00 |
|
fiatjaf
|
3e20e6c7cc
|
renaming Equal -> FilterEqual
|
2022-01-02 09:08:05 -03:00 |
|
fiatjaf
|
629c9174eb
|
update go-nostr.
|
2022-01-02 09:00:14 -03:00 |
|
fiatjaf
|
ba0d99c131
|
GetListenerFilters() helper and Injector interface for implementations.
|
2021-12-26 07:11:54 -03:00 |
|
fiatjaf
|
30eae726c1
|
turn relayer into a server framework and put actual relay code into ./basic
|
2021-12-25 21:22:40 -03:00 |
|
fiatjaf
|
ac93e5c028
|
make subscription ids unique per each websocket connection.
before they were globally unique, which was wrong.
|
2021-12-16 21:01:00 -03:00 |
|
fiatjaf
|
0265be6d31
|
upgrade to go-nostr v0.2.0.
|
2021-12-16 20:54:57 -03:00 |
|
fiatjaf
|
694eccd0c8
|
small fixes and guards.
|
2021-02-23 00:27:16 -03:00 |
|
fiatjaf
|
9c992c90dc
|
adapt to new nip-01.
|
2021-02-14 21:08:02 -03:00 |
|
fiatjaf
|
4357bd1beb
|
fix bug when removing key from listenership.
|
2021-01-14 22:07:53 -03:00 |
|
fiatjaf
|
e9cbff07a4
|
migrate off of main nostr repository.
|
2021-01-13 23:46:06 -03:00 |
|