fiatjaf
3fd33ce281
fix locking on generic list and set fetching, decrease dataloader batch size, test.
2025-01-17 17:39:24 -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
fiatjaf
668720f4bc
sdk: forgot to create replaceable/addressable loader slices.
2025-01-03 00:12:14 -03:00
fiatjaf
5875b644a2
sdk: fetching sets.
2025-01-02 12:19:06 -03:00
fiatjaf
c2c08ab6bc
more list fetchers.
2025-01-01 18:16:36 -03:00
fiatjaf
95ddacb9f3
sdk: track query attempts automatically and other small tweaks to replaceable fetching and stuff.
2024-12-24 00:15:10 -03:00
fiatjaf
36c197af42
sdk: FetchSpecificEvent()
2024-10-06 15:54:00 -03:00
fiatjaf
69b97107a9
sdk: deduplicate relay selection for replaceable loader.
2024-09-26 21:09:18 -03:00
fiatjaf
ade77ad6c9
sdk: label some default queries.
2024-09-26 21:08:40 -03:00
fiatjaf
2edc0fb713
sdk: optimize caching lists (so we don't fetch twice in a row).
2024-09-25 23:45:49 -03:00
fiatjaf
072da132f4
move nostr-sdk repository into here because why not?
2024-09-11 10:14:13 -03:00