This website requires JavaScript.
8458e26291
nip10: fix parsing when the reply is an "a". fix and test nip10.
fiatjaf
2025-11-23 06:46:51 -03:00
1284f91629
nip11: fix test because no.str.cr is offline again.
fiatjaf
2025-11-22 10:27:07 -03:00
8161bd9ad1
mmm: create directory before creating the lockfile.
fiatjaf
2025-11-22 10:24:58 -03:00
98959e73e7
eventstore: replace bluge with bleve.
fiatjaf
2025-11-22 09:16:40 -03:00
8aa9c7e945
fix go version at 1.24.
fiatjaf
2025-11-21 21:57:22 -03:00
55a43e46b7
use xhex everywhere.
fiatjaf
2025-11-21 21:16:34 -03:00
61b9717c5c
nip77: fix loading events from targetSource into vector.
fiatjaf
2025-11-21 20:01:22 -03:00
fd8c271dc4
nip77: only fetch ids after sync if there are ids to fetch.
fiatjaf
2025-11-21 19:01:52 -03:00
d37f7e0e4d
nip34: String() methods to repository and state.
fiatjaf
2025-11-20 23:28:50 -03:00
4cbca27104
schema: improve errors, disallow dangling spaces.
fiatjaf
2025-11-20 10:45:37 -03:00
a62ddd1326
remove relay_js_test.go for now since we lost wasm support.
fiatjaf
2025-11-20 23:48:51 -03:00
cdd1c1146e
improve readme.
fiatjaf
2025-11-20 07:36:22 -03:00
4a5983a17c
grasp: fix all the issues with info-refs, force-pushes, checked-out repos etc, and .Log()
fiatjaf
2025-11-19 16:37:20 -03:00
76abd031d2
nip29: "hidden" and "private" metadata fields.
fiatjaf
2025-11-19 09:19:00 -03:00
5efd8c6485
grasp: better git error messages and get rid of stdout printing.
fiatjaf
2025-11-18 23:18:49 -03:00
6cdcdfbae9
nipb0: blossom URL normalization.
fiatjaf
2025-11-18 23:04:41 -03:00
8ea2a00037
grasp: temporary OnRead and OnWrite hooks.
fiatjaf
2025-11-18 16:28:05 -03:00
f5fb294efa
blossom: add an alternative BlobIndex implementation in memory.
fiatjaf
2025-11-18 15:36:35 -03:00
078e9b4cc2
khatru: grasp server.
fiatjaf
2025-11-15 18:47:01 -03:00
017e4aea11
nip34: return events, not pointer to events.
fiatjaf
2025-11-14 12:08:47 -03:00
4b2cec9c6d
proper relay pinging disconnection.
fiatjaf
2025-11-13 16:37:07 -03:00
d981d34ab9
nip77: set default frame size limit to 60000 (same as strfry).
fiatjaf
2025-11-13 16:25:29 -03:00
312cc32da5
nip77: one small useless optimization.
fiatjaf
2025-11-13 16:18:49 -03:00
c20ca669cd
nip77: more interface fixes to prevent channel deadlock.
fiatjaf
2025-11-13 16:11:21 -03:00
e6dd124042
nip19: support empty "d" in naddr.
fiatjaf
2025-11-13 11:45:39 -03:00
dcb9378f09
nip77: fix test function calls.
fiatjaf
2025-11-13 09:21:10 -03:00
98dbe7b9e9
improve and make nip77 api nicer so it could be better used in nak.
fiatjaf
2025-11-12 16:27:51 -03:00
43fabbeb2a
eventstore: more consistent ErrDupEvent firing.
fiatjaf
2025-11-12 16:10:50 -03:00
bdced49a19
nip77: fix interface so we don't have channel lockdown.
fiatjaf
2025-11-12 15:09:09 -03:00
00c153cf92
limit reconnect interval to 10min.
fiatjaf
2025-11-12 10:15:49 -03:00
c2ab9d082c
*connection to be an integral part of *Relay.
fiatjaf
2025-11-12 06:54:41 -03:00
1c43f0d666
relay wasn't taking CustomHandler and NoticeHandler from options.
fiatjaf
2025-11-11 23:49:00 -03:00
dfd4bea78c
nip77: fix two negentropy bugs reminiscent of the binary conversation from nostrlib.
fiatjaf
2025-11-11 23:28:56 -03:00
db835ef3c4
khatru: add policies to validate event tags by kind and replace reactions.
fiatjaf
2025-11-11 11:26:10 -03:00
637de481e5
khatru: fix bug that caused a query with limit zero to bypass request filtering.
fiatjaf
2025-11-04 21:19:54 -03:00
38a6ca92b9
b0: remove hardcoded timeouts in blossom client.
fiatjaf
2025-11-04 08:26:08 -03:00
b87bc0ede4
khatru: store and broadcast kind:5 deletion events.
fiatjaf
2025-10-31 16:36:39 -03:00
32bbff615a
khatru: ForceBroadcastEvent()
fiatjaf
2025-10-31 13:05:19 -03:00
13c44a4644
khatru: PreventBroadcast() also gets passed the filter.
fiatjaf
2025-10-30 16:30:34 -03:00
20f06d9608
eventstore: SortedMerge() helper for combining results from different eventstores.
fiatjaf
2025-10-30 11:42:04 -03:00
e34ce6aa94
khatru: fix an argument name.
fiatjaf
2025-10-30 09:41:37 -03:00
0aa0038c40
mmm: lockfile to prevent multiple instances.
fiatjaf
2025-10-28 19:09:28 -03:00
b3c617e36b
eventstore: cmd can read from files and doesn't break on long lines.
fiatjaf
2025-10-28 18:40:51 -03:00
8ae530b163
nip42/khatru: clearer AUTH error messages.
fiatjaf
2025-10-28 11:42:38 -03:00
309bab0048
khatru: router AnyEvent() and AnyReq().
fiatjaf
2025-10-28 11:10:45 -03:00
a0a66cb719
nip61: ensure mint URLs are always normalized.
fiatjaf
2025-10-26 17:36:44 -03:00
a78ad86b41
sdk: FetchNutZapInfo() using the same flow as FetchProfileMetadata().
fiatjaf
2025-10-26 17:32:00 -03:00
5c8f04efa1
nip61: a comment about the amount.
fiatjaf
2025-10-26 17:00:48 -03:00
131093388d
khatru: reduce default max number of authenticated clients.
fiatjaf
2025-10-26 17:00:35 -03:00
a7b29c5c96
sdk: cached mint keys queries.
fiatjaf
2025-10-26 16:45:50 -03:00
8b38e1aec9
nip57 and nip61: parse amount.
fiatjaf
2025-10-24 23:16:30 -03:00
3f1e013912
sdk: cached zap provider queries.
fiatjaf
2025-10-24 23:10:14 -03:00
ea806d2d65
hardcode a NUMS key.
fiatjaf
2025-10-24 17:41:50 -03:00
9fbf3ea165
implement json marshaler and unmarshaler for SecretKey.
fiatjaf
2025-10-24 16:48:23 -03:00
0012a3cbbf
ensure nostr.Generate() yields a valid secret.
fiatjaf
2025-10-24 16:48:02 -03:00
e4bbebdd8f
compile-time check for json.Marshaler and json.Unmarshaler.
fiatjaf
2025-10-24 00:18:02 -03:00
588e415440
small fixes in hex parsing.
fiatjaf
2025-10-24 00:12:25 -03:00
dd097470d2
try to reconnect even if the first connection failed.
fiatjaf
2025-10-22 07:52:08 -03:00
6ee0d090e3
khatru: deploy docs to netlify.
fiatjaf
2025-10-20 18:37:21 -03:00
8cf120c08f
khatru: update docs again, now it seems to be mostly up to date.
fiatjaf
2025-10-20 18:22:08 -03:00
e1fbd09407
fix iterator cancelation in relay.QueryEvents()
fiatjaf
2025-10-17 19:32:23 -03:00
fc16a36481
mmm: stop truncating mmap, reorder commits and write operations such that eventual inconsistencies are minimized and less harmful.
fiatjaf
2025-10-16 02:26:07 +00:00
98cbe66e16
mmm: test that free ranges are being used.
fiatjaf
2025-10-16 01:43:51 +00:00
0dcaf0fa95
mmm: fixes to rescan logic.
fiatjaf
2025-10-15 23:02:32 +00:00
5d2675f356
mmm: freeranges tests and fixes.
fiatjaf
2025-10-15 02:39:21 +00:00
ac49036b77
mmm: small .EnsureLayer() change, fuzz tests for fixing borked databases
fiatjaf
2025-10-14 19:33:50 +00:00
d85bb8aa1b
khatru: fix for panics when expiration manager is nil.
fiatjaf
2025-10-14 01:52:10 +00:00
9e41bc69c4
mmm: test .Rescan()
fiatjaf
2025-10-14 01:46:42 +00:00
53e838c61d
mmm: freeranges computed on startup and kept only in memory.
fiatjaf
2025-10-14 00:38:51 +00:00
bcc7575e04
mmm: do random rescans in the fuzz test to ensure they don't break anything.
fiatjaf
2025-10-14 00:25:44 +00:00
95c70e3225
mmm: Rescan()
fiatjaf
2025-10-14 00:19:52 +00:00
776a82ba7f
sdk: fix for invalid npub in InputToProfile()
fiatjaf
2025-10-13 23:55:43 +00:00
47b1608e6b
mmm: fix fuzz test.
fiatjaf
2025-10-13 21:53:48 +00:00
96fcff7908
mmm: drop mmap on .Close() call.
fiatjaf
2025-10-13 21:26:42 +00:00
4d1774264a
mmm: add debug helpers for fixing an inconsistent db.
fiatjaf
2025-10-12 13:55:44 +00:00
34b0d1f339
nip29: moderation actions and invite code support.
fiatjaf
2025-10-11 01:36:57 +00:00
afa5e5bc0e
khatru: fix test for expiration manager, skip it unless code is manually adjusted for the test.
fiatjaf
2025-10-01 12:22:01 -03:00
46f28203ed
khatru: expiration manager takes query and delete methods, which are given automatically by .UseEventstore()
fiatjaf
2025-10-01 12:08:08 -03:00
8957144c77
khatru: expiration manager is only started automatically when .UseEventstore() is called.
fiatjaf
2025-10-01 11:57:32 -03:00
1e40fecdc2
sdk: when FetchSpecificEvent() can't find anything return nil and no errors.
fiatjaf
2025-09-29 17:04:47 -03:00
f69c78cba7
irrelevant minor things.
fiatjaf
2025-09-29 16:20:19 -03:00
9ba61b56e6
Add Tags.Has and nip11.Self
Jon Staab
2025-09-27 06:37:06 -07:00
113657314e
Use ID in nip86.IDReason
Jon Staab
2025-09-25 15:49:53 -07:00
59bd3c29ff
sdk: EraseAccessTime and EraseEventRelays.
fiatjaf
2025-09-24 11:23:21 -03:00
71978f2bc2
sdk: event access time kv helpers.
fiatjaf
2025-09-24 09:14:58 -03:00
adcab08bd7
nip11: catch one error that wasn't.
fiatjaf
2025-09-24 07:38:17 -03:00
3c540e726e
boltdb: fix reusing index key that has less capacity than necessary.
fiatjaf
2025-09-23 19:34:56 -03:00
79f1a9c636
fix sqlite mention.
fiatjaf
2025-09-23 19:02:09 -03:00
8b8693f4bf
other useless quibbles.
fiatjaf
2025-09-23 12:29:55 -03:00
5727c1e477
fix nip19 decoding type quibble (this shouldn't be an error I think, but).
fiatjaf
2025-09-23 12:29:45 -03:00
fd9f956a3d
update readmes so they're less outdated.
fiatjaf
2025-09-22 17:05:17 -03:00
04e095eb1b
"a" deletions split only 3.
fiatjaf
2025-09-22 16:46:37 -03:00
805003b39b
khatru: fix policy that requires nostr-prefix references.
fiatjaf
2025-09-15 08:27:29 -03:00
e8456dab70
khatru/policies: RejectUnprefixedNostrReferences
fiatjaf
2025-09-10 10:40:06 -03:00
9480fc1de6
eventstore: deletion safety tests.
fiatjaf
2025-09-10 09:58:13 -03:00
c5d4b52a6f
fix a dangling pending in pool.subMany()
fiatjaf
2025-09-08 11:22:35 -03:00
b67e3092b0
release a goroutine that could leak in some conditions.
fiatjaf
2025-09-07 18:56:26 -03:00
9933bb7865
khatru: fix multi-user auth stupid bug.
fiatjaf
2025-09-06 22:29:35 -03:00
4754518278
mmm: querying by ids is restricted to the layer it was initiated.
fiatjaf
2025-09-06 21:25:35 -03:00
fd53d7309f
khatru: support multi-user auth.
fiatjaf
2025-09-06 10:11:31 -03:00