This commit is contained in:
Doug Hoyte
2023-05-19 17:00:48 -04:00
parent 03ef0958fc
commit c0f787a06b

46
TODO
View File

@ -1,38 +1,38 @@
0.1 release 1.0 release
when disk is full it should log warning but not crash ! find root cause of "invalid candidate" crash
delete expired events support filtering on empty value tags
* decide what to do about generalised ephemeral events test negentropy queries stored in events
kill plugin if it times out more config params in negentropy
? limit for total number of events, not just per filter
0.2 release move plugin support into writerpipeline to support sync
? why isn't the LMDB mapping CLOEXEC increase DB version
? plugin for stream: make sure bortloff@github didn't make a mess of it update list of supported NIPs
update docs
sync
logging of bytes up/down
pre-calcuated tree of XOR
full-db scan limited by since/until
features features
less verbose default logging in sync/stream, log bytes up/down and compression ratios
multiple sync connections in one process/config "router" app, where multiple stream/sync connections handled in one process/config (the "nginx of nostr")
NIP-42 AUTH NIP-42 AUTH
slow-reader detection and back-pressure slow-websocket connection detection and back-pressure
delete command pre-calcuated tree negentropy XOR trees to support full-db scans (optionally limited by since/until)
? maybe just use daily/fixed-size bucketing
improve delete command
* delete by receivedAt, IP addrs, etc * delete by receivedAt, IP addrs, etc
* inverted filter: delete events that *don't* match the provided filter * inverted filter: delete events that *don't* match the provided filter
? relay block-list events ? less verbose default logging
? if a client disconnects, delete all its pending write messages ? if a client disconnects, delete all its pending write messages
? support filtering on empty value tags ? kill plugin if it times out
rate limits rate limits (maybe not needed now that we have plugins?)
! event writes per second per ip event writes per second per ip
max connections per ip (nginx?) max connections per ip (nginx?)
max bandwidth up/down (nginx?) max bandwidth up/down (nginx?)
log IP address in sendNoticeError and elsewhere where it makes sense log IP address in sendNoticeError and elsewhere where it makes sense
? events that contain IP/pubkey/etc block-lists in their contents
? limit on total number of events from a DBScan, not just per filter ? limit on total number of events from a DBScan, not just per filter
? time limit on DBScan ? time limit on DBScan
misc misc
? periodic reaping of disconnected sockets (maybe autoping is doing this already) ? periodic reaping of disconnected sockets (maybe autoping is doing this already)
export not dying on SIGPIPE, or not getting SIGPIPE ? export not dying on SIGPIPE, or not getting SIGPIPE
? why isn't the LMDB mapping CLOEXEC