13 Commits

Author SHA1 Message Date
fiatjaf
9057b1a7e1 get rid of all the deprecated things. 2024-10-14 16:20:30 -03:00
fiatjaf
d29025e958 CompareEvent/Ptr/Reverse utils. 2024-09-30 00:39:26 -03:00
fiatjaf
a54852f439 CompareEvent() for helping with slices.BinarySearch() 2024-09-15 12:57:51 -03:00
Yasuhiro Matsumoto
4f71918311 fix IsValidRelayURL 2024-07-29 14:43:40 -03:00
fiatjaf
70f719ea31
IsValidPublicKey() and IsValid32ByteHex() replacing IsValidPublicKeyHex() 2024-01-18 16:27:56 -03:00
fiatjaf
0c5a1b7b4f
move internal utilts to helpers.go 2023-11-28 22:24:05 -03:00
fiatjaf
f5cd0c1140
Filter.Clone() 2023-11-06 18:50:55 -03:00
fiatjaf
b522d24c30
use a named lock instead of a single per-pool mutex. 2023-08-06 19:54:30 -03:00
fiatjaf
017816e3dc
stop supporting prefix matches. 2023-08-05 10:12:57 -03:00
fiatjaf
8bdbcc93eb
remove useless util. 2023-07-28 20:53:59 -03:00
fiatjaf
c0c20b8401
validate and normalize relay urls received from kind 3 and 10002. 2023-07-08 08:16:30 -03:00
fiatjaf
16580f3e84
InsertEventIntoDescendingList() helper. 2023-07-04 17:57:43 -03:00
fiatjaf
de7179437e
helpers.go -> utils.go and lowercase util functions. 2023-02-27 16:30:48 -03:00