Commit Graph

1151 Commits

Author SHA1 Message Date
fiatjaf
8b8693f4bf other useless quibbles. 2025-09-23 12:29:55 -03:00
fiatjaf
5727c1e477 fix nip19 decoding type quibble (this shouldn't be an error I think, but). 2025-09-23 12:29:45 -03:00
fiatjaf
fd9f956a3d update readmes so they're less outdated. 2025-09-22 17:05:17 -03:00
fiatjaf
04e095eb1b "a" deletions split only 3.
see https://github.com/fiatjaf/khatru/pull/60
2025-09-22 16:46:38 -03:00
fiatjaf
805003b39b khatru: fix policy that requires nostr-prefix references. 2025-09-15 08:27:29 -03:00
fiatjaf
e8456dab70 khatru/policies: RejectUnprefixedNostrReferences 2025-09-10 10:40:06 -03:00
fiatjaf
9480fc1de6 eventstore: deletion safety tests. 2025-09-10 09:58:13 -03:00
fiatjaf
c5d4b52a6f fix a dangling pending in pool.subMany() 2025-09-08 11:22:35 -03:00
fiatjaf
b67e3092b0 release a goroutine that could leak in some conditions. 2025-09-07 19:01:43 -03:00
fiatjaf
9933bb7865 khatru: fix multi-user auth stupid bug. 2025-09-06 23:26:55 -03:00
fiatjaf
4754518278 mmm: querying by ids is restricted to the layer it was initiated. 2025-09-06 21:28:22 -03:00
fiatjaf
fd53d7309f khatru: support multi-user auth. 2025-09-06 10:11:31 -03:00
Anthony Accioly
8750197ea7 khatru/blossom: blossom ext updates.
see https://github.com/fiatjaf/khatru/pull/59
2025-09-05 11:18:51 -03:00
fiatjaf
5f8b069f5d khatru: nip86 "u" tag checking normalization fix. 2025-09-05 11:06:17 -03:00
fiatjaf
0770f217a5 khatru: prevent large indexable tags doesn't make any sense anymore as we don't index tags verbatim, only hashes. 2025-09-04 10:13:08 -03:00
fiatjaf
aec2dc318d actually it's better if nip11 pubkey is a pointer. 2025-09-04 00:35:46 -03:00
fiatjaf
cd398b94b5 get rid of badger everywhere, including as an sdk/hints backend. 2025-09-04 00:35:17 -03:00
fiatjaf
a09429236e khatru: disable ratelimit for local ipv6 too. 2025-09-03 21:32:17 -03:00
fiatjaf
d036b2f8d5 khatru: fix nip86 method field names. 2025-08-29 22:42:36 -03:00
fiatjaf
aa321f6e7f nip60: calling Processed() on deletes. 2025-08-29 16:23:28 -03:00
fiatjaf
76e90481f4 nip60: dropping a token. 2025-08-29 09:50:36 -03:00
fiatjaf
7ac9e6290b khatru: replace useless ApplySaneDefaults() with a set of pluggable "strict" defaults. 2025-08-28 17:18:22 -03:00
fiatjaf
43d6814daf betterbinary: finally fix (well, a very hackish fix but should be ok) decoding events with way too many tags. 2025-08-27 01:19:08 -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
db2c1c7653 nip11: this relay pubkey doesn't have to be a pointer. 2025-08-25 18:48:30 -03:00
fiatjaf
72b5aa5051 lmdb: fix id logging when decoding fails. 2025-08-25 18:47:38 -03:00
fiatjaf
d345bb3529 betterbinary: prevent binary index overflow by casting the numbers to int (from uint16). 2025-08-25 18:01:34 -03:00
1l0
a581d9677d readme: add how to go get 2025-08-25 07:33:00 -03:00
fiatjaf
6ab6b49940 nip11: omitempty all the things. 2025-08-25 07:32:21 -03:00
fiatjaf
926ed0830a khatru: don't ratelimit localhost connections. 2025-08-25 07:32:05 -03:00
fiatjaf
69c0981b51 address closeMutex deadlock by canceling the relay connection context on doClose(). 2025-08-23 10:08:45 -03:00
fiatjaf
c2635c1f20 eliminate ID option that was being ignored. 2025-08-23 09:16:25 -03:00
fiatjaf
31a590ee4f fix sending on close channel with yet another mutex. 2025-08-23 09:16:12 -03:00
fiatjaf
6d4ef9df85 fix pool.FetchManyReplaceable() inverted logic. 2025-08-22 19:08:25 -03:00
fiatjaf
b88edca786 eventstore: fix lmdb storing the same event a million times. 2025-08-22 18:02:19 -03:00
fiatjaf
f0c95d6860 more tweaks to kinds schema. 2025-08-22 18:02:19 -03:00
fiatjaf
6737398375 eventstore: cli "count" command. 2025-08-22 14:08:24 -03:00
fiatjaf
3eaf02ff6a schema: add many more kinds. 2025-08-21 17:40:25 -03:00
fiatjaf
cd82cd7ce7 event typechecker. 2025-08-21 16:17:53 -03:00
fiatjaf
c8d5aa703f update gonuts dependency (following go-nostr 6de0bc60). 2025-08-18 20:51:02 -03:00
fiatjaf
0f8a586593 lmdb: do the initial pull immediately, no need for a secondary loop. 2025-08-12 14:42:24 -03:00
fiatjaf
5d42b2f857 nest okcallbacks so they're called one by one. 2025-08-06 15:13:55 -03:00
fiatjaf
960312bd74 eliminate duplicates in PublishMany() 2025-08-06 00:37:39 -03:00
fiatjaf
24b10ba2a5 eventstore: up limit to 10 on ReplaceEvent() 2025-08-06 00:28:21 -03:00
fiatjaf
92f6f75388 eventstore: fix yield() usage on ReplaceEvent() 2025-08-05 23:58:13 -03:00
fiatjaf
4c459d70ba eventstore: add basic ReplaceEvent() test. 2025-08-05 23:57:38 -03:00
fiatjaf
4a7e893b80 eventstore: add boltdb support to cli. 2025-08-05 23:40:23 -03:00
fiatjaf
414e836eaa eventstore: more fuzz test false alarms. 2025-08-05 23:02:04 -03:00
fiatjaf
030cad168d eventstore: fuzz testing found us a bug! 2025-08-05 22:56:55 -03:00
fiatjaf
47ca205e9e boltdb: it works! 2025-08-05 16:25:55 -03:00