fiatjaf
a78ad86b41
sdk: FetchNutZapInfo() using the same flow as FetchProfileMetadata().
2025-10-26 17:32:29 -03:00
fiatjaf
80d0546ce6
we should be doing this since years ago: force an EOSE if the relay refuses to give us one.
2025-08-25 22:42:05 -03:00
fiatjaf
f4855dba4e
BatchedSubManyEose => BatchedQueryMany
2025-05-12 09:25:02 -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
0130725321
sdk finally compiles.
2025-04-17 00:36:33 -03:00
fiatjaf
b4268d649c
a bunch of [32]byte conversions. still more needed.
2025-04-14 17:47:53 -03:00
fiatjaf
c3cfb21097
sdk: replaceable loader checks if result exists first on map.
2025-04-03 23:25:59 -03:00
fiatjaf
a60e225a5f
sdk/dataloader simplify and fix lock issues, now it will work.
2025-03-28 17:41:41 -03:00
fiatjaf
3ebfc7812b
sdk: simplified dataloader event more. should be faster.
2025-03-24 15:50:10 -03:00
fiatjaf
78dbf9def5
use our own dataloader and simplify batch replaceable requests, removing bugs.
2025-03-24 15:50:10 -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
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