Commit Graph

41 Commits

Author SHA1 Message Date
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
0171fc9ec3 config params to control logging verbosity 2023-01-22 19:02:43 -05:00
4242290584 make size units consistent 2023-01-20 14:32:49 -05:00
154ca9a25c use app version from new golpe header so that versions are accurate after incremental builds 2023-01-20 14:18:06 -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
428f51528b bugfixes in sync 2023-01-20 12:31:47 -05:00
a5992b0b86 log connection compression stats on disconnect 2023-01-20 11:58:57 -05:00
492505bdb5 command to back-up/compact DB 2023-01-18 15:02:15 -05:00
18a7cc556a support empty arrays in REQ filters
- These never match, so clients shouldn't really ever send them, but there is no reason to fail if they do
2023-01-16 14:04:44 -05:00
a5c4df16f3 relay.enableTcpKeepalive config option. default = false 2023-01-13 16:13:24 -05:00
efd40be1aa websocket-level pings 2023-01-13 14:15:42 -05:00
3009ac1305 bugfix: NIP-20 says duplicate messages should return written = true 2023-01-13 11:46:38 -05:00
908b088642 increase max subId length from 39 to 63. snort.social was using size 45. fixes issue #7 2023-01-12 12:30:51 -05:00
10a1417af7 de-duplicate events at final write stage (issue #4) 2023-01-11 16:59:53 -05:00
5e62399844 support old and new versions of libsecp256k1 2023-01-10 12:53:09 -05:00
c47d07e985 initial commit 2023-01-09 15:33:52 -05:00