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
|
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 |
|
Greg Heartsfield
|
531f6c4624
|
feat: improved NOTICE messages for events and subscriptions
|
2021-12-12 10:50:16 -06:00 |
|
Greg Heartsfield
|
ca0f01c94b
|
docs: add rustdoc comments
|
2021-12-11 21:43:41 -06:00 |
|
Greg Heartsfield
|
65969a4121
|
feat: store events in SQLite and allow querying
Events are persisted in a local database, and can be queried through
subscriptions.
|
2021-12-11 15:48:59 -06:00 |
|
Greg Heartsfield
|
35ceb7cb64
|
feat: parse subscription close requests from websockets
|
2021-12-05 17:33:40 -06:00 |
|
Greg Heartsfield
|
92e9a5e639
|
feat: parse and validate events from websockets
Establishes a websocket listener, parses events, and performs
validation to ensure valid signatures.
|
2021-12-05 16:53:26 -06:00 |
|