fiatjaf
|
9a351b3531
|
filter tags map should be nil when there are no tags.
|
2026-01-14 17:17:11 -03:00 |
|
fiatjaf
|
55a43e46b7
|
use xhex everywhere.
|
2025-11-23 06:57:54 -03:00 |
|
fiatjaf
|
8b8693f4bf
|
other useless quibbles.
|
2025-09-23 12:29:55 -03:00 |
|
fiatjaf
|
56568bdeed
|
fix length checks from previous commit.
|
2025-06-27 13:24:03 -03:00 |
|
fiatjaf
|
67c787c8d3
|
guard event and filter decoders against bad-sized hexes.
|
2025-06-25 11:10:48 -03:00 |
|
fiatjaf
|
29cf3c7c6e
|
simplify easyjson even more, rename functions, assume ids and pubkeys will always be safe hex strings that do not need to be escaped and eliminate unnecessary variables that would probably be eliminated by the compiler anyway.
|
2025-05-15 15:01:51 -03:00 |
|
fiatjaf
|
16aa5c95f3
|
simplify easyjson parser logic by assuming there will be no nulls.
|
2025-05-15 14:00:03 -03:00 |
|
fiatjaf
|
c0934e0639
|
since and until are not pointers anymore because that is too annoying.
|
2025-05-08 09:32:54 -03:00 |
|
fiatjaf
|
62e962454e
|
pointer easyjson un/marshalers.
|
2025-04-21 10:03:47 -03:00 |
|
fiatjaf
|
15c6093c9b
|
define a nostr.Kind type for event kinds, make adjustments everywhere and fix some horrible bugs with mmm, lmdb and badger querying and deleting.
|
2025-04-20 11:15:41 -03:00 |
|
fiatjaf
|
f9e4a5efa3
|
use .UnsafeBytes() on easyjson since we're decoding hex anyway.
|
2025-04-14 21:45:33 -03:00 |
|
fiatjaf
|
b4268d649c
|
a bunch of [32]byte conversions. still more needed.
|
2025-04-14 17:47:53 -03:00 |
|
fiatjaf
|
72d9aac9b1
|
replace all ocurrences of encoding/json with json-iterator so we get rid of HTML escaping and hopefully get faster too.
|
2024-12-03 00:49:27 -03:00 |
|
fiatjaf
|
a0bf181547
|
remove HTML escaping from (easy)json encoder everywhere.
|
2024-11-11 22:55:07 -03:00 |
|
fiatjaf
|
2a85932a4f
|
omit id, pubkey and sig in jsonifying event and they're not present.
|
2024-04-25 18:20:37 -03:00 |
|
fiatjaf
|
907cfd7846
|
Filter.LimitZero
|
2024-03-29 08:08:29 -03:00 |
|
fiatjaf
|
2695854e56
|
fixing json filter json + marshaling filter tags.
|
2023-04-16 16:22:32 -03:00 |
|
fiatjaf
|
c42059f4b4
|
tests run (but not pass) and fine-tuning (specially tag filters) on filter_easyjson.go
|
2023-04-16 16:16:16 -03:00 |
|
fiatjaf
|
0a3e898c2f
|
using easyjson.
|
2023-04-16 15:56:50 -03:00 |
|