12 Commits

Author SHA1 Message Date
Yonle
a3b37912bc fix resend event code
Signed-off-by: Yonle <yonle@lecturify.net>
2023-11-29 13:58:44 +07:00
Yonle
540963177a fix verbose logging bug.
Signed-off-by: Yonle <yonle@lecturify.net>
2023-11-22 16:57:14 +07:00
Yonle
ac14c698dc introduce max EOSE score in config
Signed-off-by: Yonle <yonle@lecturify.net>
2023-11-22 16:43:19 +07:00
Yonle
e9fa7e19ee introduce EOSE Timeout
Signed-off-by: Yonle <yonle@lecturify.net>
2023-11-22 00:46:08 +07:00
Yonle
a1b68cc77e bouncer: allow the same subID to be REQ again
Signed-off-by: Yonle <yonle@lecturify.net>
2023-11-21 22:50:13 +07:00
Yonle
e3c2bf34d2 code cleaning, add more config options
Signed-off-by: Yonle <yonle@lecturify.net>
2023-11-21 19:14:40 +07:00
Yonle
b518022b21 major fix: fix EOSE handling
Array.from(relays) is actually just derivering { relays } from
config.js. Fix by changing "relays" with "socks" as that's what i am
expecting that limit from.

Signed-off-by: Yonle <yonle@lecturify.net>
2023-11-21 13:08:52 +07:00
Yonle
b8c720aa8a enable nip42 function for public bouncer.
Signed-off-by: Yonle <yonle@lecturify.net>
2023-11-20 22:45:35 +07:00
Yonle
8b158507fb handle since & until and fixbug
Signed-off-by: Yonle <yonle@lecturify.net>
2023-11-19 08:46:35 +07:00
Yonle
f6d623004d do not send events after reach to limit till all relays EOSE-ed
Signed-off-by: Yonle <yonle@lecturify.net>
2023-11-19 08:37:43 +07:00
Yonle
7e00693b73 bouncer.js: small mistake fix
Signed-off-by: Yonle <yonle@lecturify.net>
2023-11-18 17:06:03 +07:00
Yonle
0f76628728 remove mode 1, and sqlite3 no longer needed
Signed-off-by: Yonle <yonle@lecturify.net>
2023-11-18 16:53:48 +07:00