advertise support for NIP-77: negentropy syncing

This commit is contained in:
Doug Hoyte
2024-09-13 00:06:22 -04:00
parent 0648b68ffa
commit 5a9397e823
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
strfry is a relay for the [nostr protocol](https://github.com/nostr-protocol/nostr)
* Supports most applicable NIPs: 1, 2, 4, 9, 11, 22, 28, 40, 70
* Supports most applicable NIPs: 1, 2, 4, 9, 11, 22, 28, 40, 70, 77
* No external database required: All data is stored locally on the filesystem in LMDB
* Hot reloading of config file: No server restart needed for many config param changes
* Zero downtime restarts, for upgrading binary without impacting users

View File

@ -48,7 +48,7 @@ void RelayServer::runWebsocket(ThreadPool<MsgWebsocket>::Thread &thr) {
tempBuf.reserve(cfg().events__maxEventSize + MAX_SUBID_SIZE + 100);
tao::json::value supportedNips = tao::json::value::array({ 1, 2, 4, 9, 11, 22, 28, 40, 70 });
tao::json::value supportedNips = tao::json::value::array({ 1, 2, 4, 9, 11, 22, 28, 40, 70, 77 });
auto getServerInfoHttpResponse = [&supportedNips, ver = uint64_t(0), rendered = std::string("")]() mutable {
if (ver != cfg().version()) {