5a9397e823
advertise support for NIP-77: negentropy syncing
2024-09-13 00:06:22 -04:00
0648b68ffa
improve logging: distinguish between rejecting event because created_at too early vs. expired ephemeral
2024-09-12 23:37:30 -04:00
4872490384
throw herr instead of const char*
2024-09-09 17:26:59 -04:00
82226f3229
bugfix: import --fried was failing on tag values > 127
2024-09-06 00:10:32 -04:00
052c56e62f
bump DB version
2024-09-05 17:52:18 -04:00
8f978426f4
NIP-20 was folded into NIP-01
2024-09-05 17:52:18 -04:00
4f9f7468ee
use const refs for std::function callbacks
2024-09-05 17:52:18 -04:00
169e633a08
Use Bytes32 instead of std::string where possible, to reduce memory usage
2024-09-05 15:12:40 -04:00
55fa4dc032
throw herr, not const char*
2024-09-05 15:07:02 -04:00
3358e5e0ff
don't absolute qualify stdin (it's a macro)
2024-09-05 14:22:40 -04:00
4bb2a785d2
more work on error messages
2024-09-05 14:16:02 -04:00
271254f4b6
work on improving error messages
2024-09-05 01:03:28 -04:00
150ea1b887
include negentropy protocol version in NIP-11 and landing page
2024-09-04 23:31:25 -04:00
29a9d653e7
detect and ignore duplicates in negentropy sync
2024-09-04 23:12:00 -04:00
e181627842
support multiple concurrent negentropy trees
2024-09-04 23:12:00 -04:00
bcf765a0da
--fried only currently supported on little-endian (will fix eventually)
2024-09-04 23:12:00 -04:00
a240f7adf9
remove feature: negentropy filters stored in events
2024-09-04 23:12:00 -04:00
9a7128e102
update for new DB layout
2024-09-04 23:12:00 -04:00
fc43a2260b
update negentropy
2024-09-04 23:12:00 -04:00
d17a6aa9c8
remove old ephemeral event pruning method
2024-09-04 23:12:00 -04:00
fa5ae606c6
update negentropy
2024-09-04 23:12:00 -04:00
eb24824b53
upgrade negentropy
2024-09-04 23:12:00 -04:00
684d083c6b
optimise import
2024-09-04 23:12:00 -04:00
2b10fea6e7
fried feature
2024-09-04 23:12:00 -04:00
47c26cc887
don't use flatbuffers for Event index table (make it opaque)
2024-09-04 23:12:00 -04:00
391f632b73
don't store receivedAt and source metadata
2024-09-04 23:12:00 -04:00
21d4e07b87
remove prefix matching for ids and authors filter fields
...
- this also fixes https://github.com/hoytech/strfry/issues/109
2024-09-04 23:12:00 -04:00
454bb79291
bugfix
2024-09-04 23:12:00 -04:00
058c97f856
use custom packing for indexable data: PackedEvent
2024-09-04 23:12:00 -04:00
3905f84ec8
clean-up expiration logic a bit
2024-09-04 23:08:50 -04:00
3b79f3efe1
Fix Cron expiration clean-up
2024-08-08 14:35:35 +02:00
26991c79f3
remove back-compat with DB versions 0: fixes an annoying edge case where DB version isn't recorded on startup
2024-07-19 00:20:30 -04:00
34750699df
Merge pull request #95 from alexgleason/nip11-limitation
...
Add NIP-11 limitations
2024-07-18 23:39:19 -04:00
30982c3f6c
Merge pull request #100 from fiatjaf/nip70
...
implement NIP-70: protected events
2024-07-18 23:38:44 -04:00
1b6292303d
update supported nips list.
2024-04-09 08:20:11 -03:00
42b28b9482
implement NIP-70, protected events.
2024-04-08 16:26:32 -03:00
4021651d34
Add NIP-11 icon setting
2024-03-24 14:54:21 -07:00
527dc14a86
Add NIP-11 limitations
2023-12-19 17:21:21 -06:00
87acec91c3
Add nodeinfo support
2023-12-19 12:16:16 -06:00
f0ee6a91b8
feature/freebsd-support-one: restore line
2023-11-07 09:32:19 -08:00
bc21e7b16c
setRLimits refactor to snarf as many handles available up to asked for
2023-10-25 01:42:14 -07:00
b22e515a71
feature/freebsd-support-one: main freebsd adjustments
2023-10-24 03:31:54 -07:00
b3e59566c6
switch import to use WriterPipeline
...
- This makes it do the verification and writing in parallel
- Also, it will now flush periodically (default 1s) even if it has read
fewer than N (default 10k) records from stdin. This lets import be used
as a general-purpose non-relay event ingester. To do so, users must
ensure that the stdout of their process they pipe into import is line
buffered.
2023-09-26 16:03:09 -04:00
0d88747613
relay.negentropy.enabled config option: set to false to prevent processing negentropy messages
2023-09-22 14:49:35 -04:00
c9254adaf8
bugfix: handle malformed/old-format negentropy messages gracefully
2023-09-22 14:49:35 -04:00
4d0eef45f7
use negentropy protocol 0
2023-09-18 11:57:35 -04:00
7da862eb91
only attempt to monitor the modification time of a plugin if the command does not contain spaces
2023-09-10 09:53:36 -04:00
b2a128d2f3
Normally when a plugin blocks an event, it will log a message. Especially when using plugins in stream
, router
, etc, this might be too verbose. In order to silence these logs, return an empty string for msg
(or no msg
at all).
2023-09-10 09:53:30 -04:00
90494cb8b3
bugfix with plugin receivedAt time and sourceType
2023-09-10 09:53:15 -04:00
20148b1d7d
missing include
2023-09-06 15:17:03 -04:00