fiatjaf
|
dec141b52e
|
fix easyjson event encoding quotes.
|
2025-05-17 21:43:21 -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
|
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
|
67cb0ea8fb
|
this was missing?
|
2025-04-14 17:48:59 -03:00 |
|
fiatjaf
|
b4268d649c
|
a bunch of [32]byte conversions. still more needed.
|
2025-04-14 17:47:53 -03:00 |
|
fiatjaf
|
9e94310604
|
ridiculous performance string and serialization performance improvements.
|
2025-03-07 21:45:47 -03:00 |
|
fiatjaf
|
91efcb3825
|
remove support for extra fields in events -- was deprecated.
|
2024-12-28 14:19:28 -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
|
894a98b98b
|
remove some useless checks from event json.
|
2024-08-13 22:02:39 -03:00 |
|
fiatjaf
|
b43d0e374a
|
reorder json serialization to write "kind" first and adjust tests.
|
2024-04-25 18:30:38 -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
|
af4fc98fc2
|
stop decoding strings unsafely.
|
2023-06-21 13:03:43 -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 |
|