Commit Graph

312 Commits

Author SHA1 Message Date
293bf47fe2 fix: Clamp Event strings
When an event is rejected because it's too large, the entire event is printed to the log. This floods the log and makes it totally unreadable. So this change clamps it to 200 chars.
2024-12-11 18:20:08 +01:00
60d35a6b8b release notes for 1.0.3 2024-11-13 16:16:56 -05:00
f10bdf9337 use negentropy error message format specified in NIP-77 1.0.3 2024-11-13 15:21:23 -05:00
8aa79e41a1 release 1.0.2 1.0.2 2024-10-18 18:13:43 -04:00
421463cf4d show that relay.info.nips must be a string 2024-10-18 18:12:09 -04:00
29d7afe6c3 hack to workaround uWebsockets issue preventing parsing of some IPv6 addresses (reported by Petr Kracík) 2024-10-18 18:06:51 -04:00
bfb9fd14f4 changelog entries 2024-10-18 16:36:03 -04:00
4b16dc1aa7 some minor tweaks to the connection timeout, docs 2024-10-18 16:35:43 -04:00
17864d69fc Merge pull request #126 from braydonf/router-timeout
Add timeout config for router.
2024-10-18 16:05:24 -04:00
dbca33cc99 Add timeout config for router. 2024-10-03 16:55:48 -07:00
08f06338f3 relay.info.nips config param: lets you override the supported NIPs list in NIP-11 responses and elsewhere
- requested by @ismyhc
2024-09-19 01:27:16 -04:00
980725c2ae release 1.0.1 1.0.1 2024-09-14 10:13:26 -04:00
4560490d36 detect and prevent an export of a v2 DB using --fried (it will be corrupted) 2024-09-14 10:10:59 -04:00
cd8a33e689 bump golpe and negentropy for stdint.h 2024-09-14 09:43:33 -04:00
2da619ed23 release 1.0.0 1.0.0 2024-09-13 01:03:36 -04:00
240d251031 todo 2024-09-13 01:02:22 -04:00
4289fa2288 updated docs 2024-09-13 01:00:55 -04:00
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
d2d8dc7572 plugin doc updates 2024-09-12 15:20:40 -04:00
4872490384 throw herr instead of const char* 2024-09-09 17:26:59 -04:00
5a0d43f779 typo in docs (noticed by @mmalmi) 2024-09-07 12:45:03 -04:00
82226f3229 bugfix: import --fried was failing on tag values > 127 1.0.0-beta2 2024-09-06 00:10:32 -04:00
1f34794945 release 1.0.0-beta1 1.0.0-beta1 2024-09-05 18:06:53 -04:00
77b60c4f0e todo 2024-09-05 17:52:23 -04:00
5e375fb9df readme 2024-09-05 17:52:18 -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
db2694809f bump golpe 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
378f4dac73 todo 2024-09-05 01:03:45 -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
3016a9bb7a todo 2024-09-04 23:12:00 -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
09b26a2297 make all test scripts executable 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
01dcf844b5 document --fried data format 2024-09-04 23:12:00 -04:00
b8d15e5b91 todo 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
9f2b6dcc66 negentropy docs 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