Greg Heartsfield
|
d3da4eb009
|
feat: implementation of proposed NIP-11 (server metadata)
|
2022-01-03 18:42:24 -05:00 |
|
Greg Heartsfield
|
4171a8870e
|
feat: reject events that are too large
A new configuration setting controls the maximum size of event
messages, and sends a notice to the client if they exceed it.
Fixes https://todo.sr.ht/~gheartsfield/nostr-rs-relay/14
|
2021-12-31 15:19:35 -06:00 |
|
Greg Heartsfield
|
5a19a8876f
|
feat: allow database directory configuration
Adds configuration options for database directory, either on command
line through (--db dir-name) or the config.toml file.
Fixes: https://todo.sr.ht/~gheartsfield/nostr-rs-relay/13
|
2021-12-31 11:51:57 -06:00 |
|
Greg Heartsfield
|
20ee5a054c
|
feat: rate limit event creation
A configuration option, `messages_per_sec`, imposes a global limit on
the rate for which new events can be stored.
Fixes https://todo.sr.ht/~gheartsfield/nostr-rs-relay/6
|
2021-12-30 21:07:21 -06:00 |
|
Greg Heartsfield
|
f415295184
|
feat: reject future-dated events
If configured, reject events than are more than N seconds in the
future.
Fixes https://todo.sr.ht/~gheartsfield/nostr-rs-relay/5
|
2021-12-29 22:47:31 -06:00 |
|
Greg Heartsfield
|
d730bf0c59
|
feat: add configuration through file
A file named `config.toml` can now be used to load the address, port,
and some websocket configuration settings.
Fixes https://todo.sr.ht/~gheartsfield/nostr-rs-relay/3
|
2021-12-29 22:13:02 -06:00 |
|