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
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
0770f217a5
khatru: prevent large indexable tags doesn't make any sense anymore as we don't index tags verbatim, only hashes.
fiatjaf
2025-09-04 10:13:08 -03:00
aec2dc318d
actually it's better if nip11 pubkey is a pointer.
fiatjaf
2025-09-04 00:35:46 -03:00
cd398b94b5
get rid of badger everywhere, including as an sdk/hints backend.
fiatjaf
2025-09-03 21:33:39 -03:00
a09429236e
khatru: disable ratelimit for local ipv6 too.
fiatjaf
2025-09-03 21:32:17 -03:00