Commit Graph

1101 Commits

Author SHA1 Message Date
fiatjaf
f23356ab45 blossom.UploadFilePath() and UploadFile() 2025-05-03 11:56:37 -03:00
fiatjaf
002dc1e84d allow custom CheckDuplicate in pool subscriptions. 2025-05-02 15:19:16 -03:00
fiatjaf
b7989084f2 json marshaler/un for ids and pubkeys. 2025-05-02 15:19:02 -03:00
fiatjaf
80621fe547 khatru/docs: display fox. 2025-04-28 15:46:17 -03:00
fiatjaf
0845e5dd94 do not print a bunch of zeroes when serializing event pointers with empty author. 2025-04-24 15:39:16 -03:00
fiatjaf
9fe9146381 fix error message for secret key parsing. 2025-04-24 13:23:16 -03:00
fiatjaf
631ff67d52 nip46: fixes from nak bunker tests. 2025-04-22 08:37:34 -03:00
fiatjaf
b92e70270d nip49: fix secret key return values. 2025-04-21 18:09:44 -03:00
fiatjaf
bf436be0f7 fix secret key hex parsing zero-filler. 2025-04-21 15:44:45 -03:00
fiatjaf
aaf0740513 partial docs update. 2025-04-21 15:44:45 -03:00
fiatjaf
59bddab471 sdk/hints: silence badger logger. 2025-04-21 10:26:33 -03:00
fiatjaf
46fba24b3e eliminate indirect go-nostr dependency. 2025-04-21 10:13:40 -03:00
fiatjaf
110ff7624f sdk: get rid of With*** mods on NewSystem() 2025-04-21 10:13:29 -03:00
fiatjaf
62e962454e pointer easyjson un/marshalers. 2025-04-21 10:03:47 -03:00
fiatjaf
3d595039cc fixes and tweaks from nak port work. 2025-04-21 08:35:19 -03:00
fiatjaf
ee2d618285 fix negentropy tests. 2025-04-20 11:19:57 -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
27f40c2cf2 remove nip90 because it is broken. 2025-04-19 18:07:37 -03:00
fiatjaf
fb688575e8 sdk tests compile but not all pass yet. 2025-04-18 11:59:25 -03:00
fiatjaf
92c2de6294 eventstore tests. 2025-04-18 11:29:31 -03:00
fiatjaf
32efaa7c58 tests on root and khatru working. 2025-04-17 20:30:44 -03:00
fiatjaf
1c56906506 fix some pubkeys that were strings still. 2025-04-17 00:54:50 -03:00
fiatjaf
0130725321 sdk finally compiles. 2025-04-17 00:36:33 -03:00
fiatjaf
a7be696243 a bunch of conversions and api tweaks on khatru and eventstore. 2025-04-17 00:15:15 -03:00
fiatjaf
f7884cea4f wait, Querier can just return an iter like eventstore, it's ok. 2025-04-16 03:06:27 -03:00
fiatjaf
5b8954461f it never ends. 2025-04-16 02:59:47 -03:00
fiatjaf
cb0dd45a32 go mod tidy works now at least. 2025-04-15 18:40:56 -03:00
fiatjaf
2b5b646a62 a big bundle of conversions and other changes. 2025-04-15 17:13:57 -03:00
fiatjaf
f493293be2 update import paths. 2025-04-15 08:51:25 -03:00
fiatjaf
76032dc089 bring in khatru and eventstore. 2025-04-15 08:49:28 -03:00
fiatjaf
8466a9757b delete nip96. 2025-04-15 00:00:21 -03:00
fiatjaf
376834cbf9 more conversions. 2025-04-15 00:00:03 -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
Kay
40535e6b19 feat(nip11): update to nips pr nostr-protocol/nip#1821 2025-04-13 14:15:43 -03:00
fiatjaf
b6f0e46a85 nip45: support kind:1111 comment counts. 2025-04-10 23:06:26 -03:00
fiatjaf
a90f9e61a2 sdk: prepare note for publication (wip). 2025-04-10 17:49:03 -03:00
fiatjaf
5e650f27ff nip77: fix envelope parsing. 2025-04-08 12:22:17 -03:00
fiatjaf
dad99b226c relay: fix unsafe overwriting of event buffer that affected parsed pubkeys, ids, content. 2025-04-07 15:56:36 -03:00
fiatjaf
0fc00d8a68 sdk/hints: eliminate two unnecessary unsafe conversions on copy. 2025-04-07 15:14:56 -03:00
fiatjaf
ed0c6534da nip27: fix for contents that end in broken strings. 2025-04-07 15:10:58 -03:00
fiatjaf
14beb34363 sdk: hint tracker to use new nip27 parser. 2025-04-06 13:33:30 -03:00
fiatjaf
a88b34ed3c sdk/hints: simplify memory. 2025-04-06 11:56:48 -03:00
fiatjaf
2e28cc809a sdk/hints: HintsDB.GetDetailedScores() 2025-04-06 11:47:08 -03:00
fiatjaf
05e2018d3a exit BatchedSubManyEose() immediately as the context expires.
I'm not sure about this, but seems to work.
2025-04-06 09:40:54 -03:00
fiatjaf
bba332aea6 pool: pre-update seenAlready atomically so there is no risk of the same event being parsed and dispatched twice racily. 2025-04-06 09:40:32 -03:00
fiatjaf
198dc6ebda fix (break) sys.FetchWriteRelays() signature. 2025-04-04 23:40:27 -03:00
fiatjaf
087e6c220a sdk: include level1 follows in the wot. 2025-04-04 14:34:16 -03:00
fiatjaf
72eeabd2f4 sdk: wot knows its size. 2025-04-04 14:32:08 -03:00