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
fb688575e8
sdk tests compile but not all pass yet.
2025-04-18 11:59:25 -03:00
fiatjaf
376834cbf9
more conversions.
2025-04-15 00:00:03 -03:00
fiatjaf
b4268d649c
a bunch of [32]byte conversions. still more needed.
2025-04-14 17:47:53 -03:00
fiatjaf
769887fac1
sdk: ConcurrentMetadata test to fail properly.
2025-03-10 09:57:35 -03:00
fiatjaf
459273216c
replace deprecated functions in multiple places.
2025-03-10 02:56:12 -03:00
fiatjaf
a8d6e1f37f
sdk: adjust test expected relay.
2025-02-09 18:12:27 -03:00
fiatjaf
df6aaa3ad3
sdk: test for feeds and a fix.
2025-01-20 13:45:43 -03:00
fiatjaf
3fd33ce281
fix locking on generic list and set fetching, decrease dataloader batch size, test.
2025-01-17 17:39:24 -03:00
fiatjaf
3e1c0ddc7e
fix pinging relays: use the main relay context, not the relay connection temporary context.
2025-01-17 14:08:54 -03:00
fiatjaf
06a15fdaab
follow list fetching test and related changes and fixes.
...
- make BatchedSubManyEose() use a single duplicate id index and use it for replaceable loaders;
- fixes parsing follow entry from kind:3 events (and others);
- adds a "cause" to most cancelation errors in relay/pool;
- remove the inherent cache from dataloader (we have our own hopefully);
- increase max frame size we can read from any websocket to 2**18 (262k), which gives over 2000 item lists.
2025-01-17 13:44:51 -03:00
fiatjaf
febf022124
add some basic sdk tests, fix saving hints (normalize urls), checkduplicates arg order, kvdb stuff and other things.
2025-01-16 17:39:16 -03:00