Commit Graph

18 Commits

Author SHA1 Message Date
61781f351f use custom packing for indexable data: PackedEvent 2024-08-29 20:18:05 -04:00
dcb2920578 Back out changes to generalised replacement behaviour, to preserve NIP conformance
- d tags only work on kinds 30k-40k
- ephemeral tag is not honoured
2023-05-19 00:14:04 -04:00
371f95bce3 idempotent event deletion, prevent levId reuse when latest event is replaced or deleted 2023-04-30 13:47:01 -04:00
0cbc937bf0 remove quadrable and yesstr 2023-04-29 15:20:04 -04:00
a4549883eb generalise replaceable and ephemeral events 2023-04-29 14:41:47 -04:00
6218ca3334 bugfix: don't crash if we can't load an event that was deleted while a DBQuery scan was paused 2023-02-27 06:41:50 -05:00
3d4b8853f1 ensure you can export a version 0 DB using a new binary 2023-02-09 04:31:31 -05:00
4eb7a4fe53 more work on write policy plugins 2023-02-08 15:04:59 -05:00
b32999cee8 max indexed tag size 2023-02-08 06:07:17 -05:00
376d7cbf1f track sources of events 2023-02-07 08:08:29 -05:00
9e2bc45a46 use 5+27 length for quadrable keys instead of 9+23
- reduces quadrable branching
- increases collision resistance
- good until year 2514
2023-02-02 15:04:43 -05:00
485abee8ed quadrable node gc, clean-up writes, consolidate deletion 2023-02-02 15:04:43 -05:00
60628d18c3 DB compression 2023-02-02 15:04:43 -05:00
ec9161ce08 DB schema refactor 2023-02-02 15:04:43 -05:00
cf7f92451f log connection compression status, bugfix 2023-01-20 14:17:00 -05:00
9a586ac664 don't use deprecated OpenSSL functions 2023-01-20 12:33:35 -05:00
8102cd6a00 sort batches of writes to reduce fragmentation 2023-01-20 12:33:28 -05:00
c47d07e985 initial commit 2023-01-09 15:33:52 -05:00