fiatjaf
d43fbbf02d
eventstore: fix lmdb and mmm ptag-kind queries.
...
the prefix was missing the 2 bytes of the kind when preparing the query.
we also simplify the query planner logic a little bit and eliminate some useless fields and everything is clearer.
2026-03-23 00:23:38 -03:00
fiatjaf
55a43e46b7
use xhex everywhere.
2025-11-23 06:57:54 -03:00
fiatjaf
fc16a36481
mmm: stop truncating mmap, reorder commits and write operations such that eventual inconsistencies are minimized and less harmful.
2025-10-16 03:11:11 +00:00
fiatjaf
e9a08d669e
eventstore: index tag letter together with the value.
2025-06-10 13:46:29 -03:00
fiatjaf
c0934e0639
since and until are not pointers anymore because that is too annoying.
2025-05-08 09:32:54 -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
92c2de6294
eventstore tests.
2025-04-18 11:29:31 -03:00
fiatjaf
cb0dd45a32
go mod tidy works now at least.
2025-04-15 18:40:56 -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