Commit Graph

67 Commits

Author SHA1 Message Date
45cc598b22 wip 2023-03-06 09:12:12 -05:00
3b03e1af41 wip 2023-03-06 09:12:12 -05:00
2f59f8ffa3 wip 2023-03-06 09:12:12 -05:00
0be5f1b5de wip 2023-03-06 09:12:12 -05:00
740f791b95 wip 2023-03-06 09:12:12 -05:00
fbce3def93 wip 2023-03-06 09:12:12 -05:00
41223565a4 wip 2023-03-06 09:12:12 -05:00
a93ad7ff3d wip 2023-03-06 09:12:12 -05:00
fe42b02268 QueryScheduler refactor 2023-03-06 09:12:12 -05:00
7d5aebbf43 generalise replaceable and ephemeral events 2023-03-06 09:12:12 -05: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
5175664e2f fix query behaviour when limit is present (reported by @Mazin) 2023-02-25 00:03:59 -05:00
d6151072fe simple sorting implementation, for benchmarking 2023-02-25 00:03:59 -05:00
54f467cc1c reverse export 2023-02-25 00:03:59 -05:00
18acadf4c2 remove auto-gc after delete and import 2023-02-25 00:03:59 -05:00
d5cb732cd4 refactor cron 2023-02-25 00:03:59 -05:00
30b8c387a2 don't throw exceptions if modifications are made during dict operations 2023-02-15 17:00:11 -05:00
decc3aea26 delete command, split up compact and gc into separate commands 2023-02-11 07:36:59 -05:00
204c808b41 Monitors can't be stored in flat maps because we manage pointers into them in MonitorSets 2023-02-09 12:40:40 -05:00
3d4b8853f1 ensure you can export a version 0 DB using a new binary 2023-02-09 04:31:31 -05:00
d89034bd9f plugin docs 2023-02-09 03:25:45 -05:00
7c0477c202 re-init plugin when lookback seconds config changes 2023-02-09 02:50:23 -05:00
61f2638f88 work on write policy plugin 2023-02-08 16:44:53 -05:00
51243ce62f option to extract client's IP from HTTP header (ie X-Real-IP) 2023-02-08 16:10:46 -05:00
4eb7a4fe53 more work on write policy plugins 2023-02-08 15:04:59 -05:00
679d3834e4 import --no-gc option 2023-02-08 13:27:36 -05:00
5c4fddb4a8 NIP-33: parameterized replaceable events 2023-02-08 13:27:34 -05:00
7661865bcc NIP-40 expiration timestamp 2023-02-08 06:48:38 -05:00
b32999cee8 max indexed tag size 2023-02-08 06:07:17 -05:00
d6df5c65b1 Revert "allow filtering for indexed values > 255 bytes"
This reverts commit 93ca4b9044.
2023-02-08 05:46:40 -05:00
1d2295bd7d write policy wip 2023-02-08 05:43:46 -05:00
79dcceaee0 nice rendering of IPs 2023-02-07 11:59:48 -05:00
67331a6e6f simplify quadrable instance creation 2023-02-07 11:59:02 -05:00
67d11ced30 output DB version in info command 2023-02-07 08:19:13 -05:00
376d7cbf1f track sources of events 2023-02-07 08:08:29 -05:00
b3109d3e57 unused var 2023-02-05 15:55:31 -05:00
2c86254fb9 limit on max number of concurrent REQs 2023-02-05 15:43:11 -05:00
43cdd64956 increase max subscription ID length, needed for hamstr client 2023-02-05 15:41:59 -05:00
93ca4b9044 allow filtering for indexed values > 255 bytes 2023-02-05 15:02:36 -05:00
271b1723ac setrlimit nofiles config 2023-02-02 15:42:42 -05:00
4f3a245407 config for compression 2023-02-02 15:04:43 -05:00
8d0c9952ab flat maps/sets 2023-02-02 15:04:43 -05:00
5117485ebf GC improvements 2023-02-02 15:04:43 -05:00
ee612416e0 index-only scans for pubkey+kind 2023-02-02 15:04:43 -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
27398fe54a detect old DB versions that need to upgrade 2023-02-02 15:04:43 -05:00
c31a213704 fixed size arrays in NostrIndex, where possible
- shrinks records by 16 bytes, and 16 bytes for every e or p tag
2023-02-02 15:04:43 -05:00